Skip to content

Froggies/trake

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trake



This game was specially made for the GitHub's Game Off 2015 : The Game Has Changed GitHub's Game Off

About

We made a game from the most simple snake game, to the most complicated we can do in 3 weeks, in Tron style (reference to the track "The game has changed" on Tron : Legacy Soundtrack by Daft Punk https://www.youtube.com/watch?v=DmKDVvIEhBYtr).

Try it on http://ns3361665.ip-91-121-202.eu:5000

Forked from jrgdiz/snake

As prescribed in the Game Off rules, this game is a fork of an other game found in github : A simple clone of the snake game https://github.com/jrgdiz/snake

Technology

Back :

  • Javascript - ES5

Front :

Environment :

  • Npm

Installation

> git clone https://github.com/Froggies/trake.git
> cd trake
> npm install

Run

> npm start
> open webbrowser on http://127.0.0.1:3000

Architecture

  • public/ : displayed by web browser
    • build/ : generated stuff for browser, don't forget to delete useless files some times !
    • css/ : all stylesheet needs, simple css files (with .css extension) or stylus files (with .styl extension)
    • js/ : all Javascript files in ES6 (thanks to browserify and babelify plugins) format
    • images/ : you know what it is!
  • shared/ : js files can be used in browser and/or in server, must be in ES5 format
  • server/ : all js files for the server
  • index.js : entry point of the server
  • constants.js : constants to configure the server

How to play

Launch screen

Trake Launch Screen

  • Chose your name and bike color
  • Join a existing room (as player or viewer) or create a new one with your own rules :
    • Room name
    • Number of players
    • Infinite walls behind the bike (or not)

In Game

Trake In Game Screen

  • Use keyboard arrows to control your bike (or screen arrows on mobile)
  • Try to crush you opponent in your trail and try to stay alive !
  • Get some bonuses... avoid the traps :
    • The batteries give you +1pts and make your wall longer (in "non-infinite wall" mode)
    • The mines kill you
    • The ice make you slip
    • The portal teleport you to the other portal

Trake In Game Helps

Features

  • Multiple players (with personalized name and color)
  • Artificial Inteligence players
  • Score-board
  • Spectator mode
  • Objects : batteries, mines, ice and portals
  • Infinite wall behind bike (Tron mode) or not (Snake mode)
  • Chat inside rooms
  • Mobile compatibility
  • Finish the perfect trace branch to interpolate correctly trajectory of other players
  • Enhance IA, creates others, encourage community to create one
  • Room types / Game mode : survivor, flag, course...

Team

From @Froggies :

About

From the most simple snake game, to the most complicated we can do in 3 weeks.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 73.1%
  • CSS 17.7%
  • HTML 9.2%