Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 865 Bytes

README.md

File metadata and controls

47 lines (30 loc) · 865 Bytes

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