Skip to content

DmitryDzz/dinonode

Repository files navigation

Introduction

Dinonode is an old school terminal platform open source game. The game protagonist is Google T-Rex in absolutely terrible apocalyptic circumstances. The goal is to save the world, of course. The dinosaur world.

Screenshot

Game trailer: https://www.youtube.com/watch?v=PgDoDAzrWBA

Keyboard controls

  • [Left arrow], [a]: run left
  • [Right arrow], [d]: run right
  • [Up arrow], [w]: jump
  • [Down arrow], [s]: dodge and accelerate
  • [p]: pause/unpause
  • [Escape], [Ctrl+C], [q]: quit

Download

All public releases

Cloning the project

cd <your work directory>
git clone [email protected]:DmitryDzz/dinonode.git
cd dinonode

Install dependencies

npm install

Project scripts

Build

npm run build

Run tests

npm run test

Check for circular dependencies

npm run madge

Build and run

npm run start

Or run with command line parameters:

npm run start -- --difficulty hard --maxScore 25

Check the version:

npm run start -- --version

Output help:

npm run start -- --help

Make executables

npm run deploy

The executables will be stored in exec/ directory.

Ready to run executables

Linux

To run the game in Linux terminal (x64):

./dinonode-linux

Read help for command line arguments:

./dinonode-linux --help

Windows

To run the game in Windows Terminal (x64):

./dinonode-win.exe

Read help for command line arguments:

./dinonode-win.exe --help

There are two issues with Windows Terminal:

  1. It has only 16 colors, so the game is not that pretty in Windows.
  2. The default font doesn't display all unicode characters correctly. You have to set the font that is more suitable for unicode. Cascadia Mono or Source Code Pro work fine.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published