Skip to content

Extensible CLI mini-game with an interactive toy robot

License

Notifications You must be signed in to change notification settings

tadhglewis/toy-robot

Repository files navigation

toy-robot

Extensible CLI mini-game with an interactive toy robot

Powered by skuba

Toy Robot

Challenge

See coding challenge for details.

Extensions to challenge:

  1. Diagonal movement
  2. Jumping
  3. Teleporting
  4. Obstacles
  5. Multi robot type support

The architecture has been broken down into 2 layers:

  1. The game. This handles all the core game logic.
  2. The CLI. This resolves user inputs into game interactions and visualises the game state.

The goal is to decouple functionality which allows you to essentially swap out the input and UI without modifying the core game.

Development

Test

pnpm test

Lint

pnpm format
pnpm lint

Start

pnpm start

About

Extensible CLI mini-game with an interactive toy robot

Resources

License

Stars

Watchers

Forks