Giter VIP home page Giter VIP logo

deathcube-successor-tower's Introduction

CS1010R: Tower Defense/Attack Multiplayer Game

Gameplay:
The game has two players, player 1 occupying the left half of the map, player 2 occupying the right half. The two player are controlled by two AI programs to be written by the student. In this game, the two players will take part in both sending out soldier to attack the opponent's base and building towers to defend themselves against each other's attack. There are multiple rounds. Each round consists of 2 phases: building phase and waving phase. The building phase occurs first, during which the players will prepare their towers. Next, during the waving phase, player 1 and 2 take turns to attack each other. The game continues until until someone dies or if the maximum number of rounds is reached.

Credits:

  • Supervisor: Prof. Martin Henz
  • Student: Lai Hoang Dung (Louis), Yu Xiaodong

Presiquisites
The browser needs to support HTML5, and also the JSON.stringify and JSON.parse methods. This should include IE 11+, Firefox 36+, Chrome 40+, Opera 27+ and other modern browsers.

Getting Started
Open index.html and click "Start Game" for a quick demo of a game using default AI programs.
Otherwise, to test the game with custom AI programs, open test_ai.html. Go to console and type

Game(<PlayerAI Object 1>, <PlayerAI Object 2>);

An interface similar to the game screen on index.html will then appear.

Info for Students
Refer to Student_Guide.md

Info for Avengers
Refer to Avenger_Guide.md

Mission Ideas
Refer to Mission_Ideas.md

deathcube-successor-tower's People

Contributors

louislai avatar

Stargazers

Sam Y avatar

Watchers

James Cloos avatar  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.