jinc0930 / Clue

A game
2 stars 0 forks source link

[Item] Key and Special Items #39

Closed mishimalisa closed 1 year ago

mishimalisa commented 2 years ago

As we add more features it's nice to have one or more rooms that is locked by default, and can be unlocked by the player later on. For this we can add a bool to check if is locked and don't allow movement if it's locked.

This will be the first real "special item" implementation. So we need to create and change some stuff accordingly.

Special items preparation

Key & door implementation

Implemented but not being used for now: One random door is locked at the start of the game

jinc0930 commented 2 years ago

sounds good

jinc0930 commented 2 years ago

how many rooms are being locked? Is the rooms locked random? how can users unlock a room?

mishimalisa commented 2 years ago

how many rooms are being locked? Is the rooms locked random? how can users unlock a room?

  1. probably no more than 2
  2. yes
  3. keys for now but we can add more ways later