Skip to content

justinwang11/TRON

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tron

Based on the classic Tron arcade game, featuring single player or versus mode!

[Live Link][link] [link]: http://justinwang11.github.io/TRON/html/index.html

Controls

Player 1 - Arrow Keys Player 2 - W, A, S, D

Objective

As you move around the arena, you leave a wall behind you. If you crash into your own wall, the wall of the other player, or the borders of the arena, you lose. Make patterns and manipulate your opponent into crashing before you do!

Features

  • An AI that dynamically calculates the optimal re-route based on the length of squares until the next wall to the right or the left side upon collision.
  • Categorization of collision detection to determine a winner or if it was a tie game.
  • Menu select for single player or 2-player modes.

About

TRON browser game built in JavaScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 74.2%
  • HTML 13.6%
  • CSS 12.2%