The well-known Snake-game with trains including waggons and steam-locomotives
HTML PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
img
LICENSE
LocomotiveInstruction.html
LocomotiveInstruction.php
LocomotiveSnake.html
LocomotiveSnake.php
README.md

README.md

LocomotiveSnake

Author: Marvin Baral (github@marvinbaral.de)

The well known snake game but with locomotives and waggons instead of snake.

It is perfect for embedding it into your website - just add header and footer.

How to play

  • use W, A, S, D or Arrow Keys to control your train
  • Eat the red dot to get larger

Setup

  • Place files where you need them
  • Add header and footer to the two .html files, merge them with existing tags
  • Surround everything with <html></html>
  • Don't miss the <!DOCTYPE html> at the top