GitXplorerGitXplorer
h

tube-panic

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Verified
9a8350d76d8e9ac5566a7bbed90854a81986fbff

1.2.4

hhnrch02 committed 6 years ago
Verified
0278de2c88be8e28dbee827437952b1b6929e228

Fail gracefully when highscores can't be written

hhnrch02 committed 6 years ago
Verified
f2561d6b53c5541735ef7f781fb42df2064e533a

1.2.3

hhnrch02 committed 6 years ago
Verified
80d1c7a03164afce71425ebec228e8d93e197d84

Typo

hhnrch02 committed 6 years ago
Verified
def1618972df6a849d599a8ac5bd4f3947f3ac92

Check highscores.json in

hhnrch02 committed 6 years ago
Verified
9d407480254362f88e7f40635e71cb6937085929

Use module relative path for highscore file

hhnrch02 committed 6 years ago

README

The README file for this repository.

           ______      __            ____              _
          /_  __/_  __/ /_  ___     / __ \____ _____  (_)____
           / / / / / / __ \/ _ \   / /_/ / __ `/ __ \/ / ___/
          / / / /_/ / /_/ /  __/  / ____/ /_/ / / / / / /__
         /_/  \__,_/_.___/\___/  /_/    \__,_/_/ /_/_/\___/

HISTORY

Before the transistor was invented, computers used vacuum tubes as switches. These vacuum tubes however were rather fragile and would regularly fail. In this game you are tasked with maintaining one of these computers, the ENIAC, the very first electronic general-purpose computer. You will need to replace the failed tubes to keep the computer running. The longer you keep it running, the higher your score will be. If all boards fail, you loose the game. Computers were very high maintenance back in the day, something the six women responsible for programming the ENIAC could attest to.


RUNNING IT

Make sure you have Node.js >= 10 installed. See https://nodejs.org/en/ for installation instructions.

Run npx tube-panic on your command line to play the game. If you prefer you can also clone this repository and start the game with node index.js.


CONTROLS

w=forwards a=left s=backwards d=right e=replace tube

ctrl+c=exit game


DESCRIPTION

B - Boards Boards need maintenance as soon as they flare up red. Move infront of the failed board and change the tube. You need to be facing the board in order to repair it.

W - Wall Walls block your movement.

A, V, <, > - You This indicates the direction you are facing.


LICENSE

Tube Panic - Copyright (C) 2019 Team lol

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

To see the respective General Public License visit: http://www.gnu.org/licenses/.