StephanieSoldavini / Cluedunit

A command line interface to play the game Clue.
GNU General Public License v3.0
0 stars 0 forks source link

Implement movement function #3

Open StephanieSoldavini opened 8 years ago

StephanieSoldavini commented 8 years ago

This function will take in a char representing a move, a starting location, and will output an ending location.

The char input will be one of the following: w (up), a (left), s (down), d (right), p (passage), or a numeric representing a door through which to exit a room. In the case of the command line ASCII board, the char will be the user's input directly. If another controller is implemented, the control input will be converted to the corresponding char for processing by the function.

This function is intended to be called in a loop over a string of input representing a player's entire dice-roll-length move.

ARamsey118 commented 7 years ago

Closed with 95caa01 and remaining bugs fixed with f32c330

ARamsey118 commented 7 years ago

Still have to do rooms and passages. Also need to make sure players don't share spaces