Giter Site home page Giter Site logo

15-466-f22-base6's Introduction

Amidst Ourselves

Author: Lawrence Chen

Design: In this game, you must try to simultaneously fit in with the NPCs, collect coins, and find out who else is a real player and kill them.

Networking: The client sends only the controls over to the server. This means which buttons are pressed and the down count of each button. The server periodically sends the client the new game state, which consists of all the player positions, who is alive/dead, the npc positions, and the coin position. Each client draws the game state using the most recent values received.

Screen Shot:

Screen Shot

How To Play:

  • WASD to move
  • Spacebar to dash briefly in the direction of movement (5s cooldown)
  • R to restart (can be done by any player)

The goal of the game is to kill other players by dashing through them and be the last one standing. However, this is not straightforward as there are 30 NPCs also walking around that look exactly the same as the players. Dashing exposes your own position to other players, so spamming it is probably a bad idea.

The game alternates between two phases: coin phase and break phase. During coin phase, there is a coin that spawns randomly somewhere in the arena and each player must individually touch it to collect it. When coin phase ends, players that have not yet touched the coin will be highlighted in red for two seconds, making them easy targets.

Thus, the main strategy is to move in a way similar to the NPCs. When a coin spawns, you should collect it inconspicuously to avoid drawing attention. Meanwhile, you have to pay attention to the other circles to decide which ones are real players.

Note that players spawn in spectating mode by default. You need to press 'R' to restart so that all spectators become players.

Sources: reused some default assets (circles and rectangular arena)

This game was built with NEST.

15-466-f22-base6's People

Contributors

ixchow avatar jackajackalop avatar ldcwv avatar markgillespie avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.