tty-solitaire icon indicating copy to clipboard operation
tty-solitaire copied to clipboard

Feature Request: Undo command (among a few other items)

Open jrcharney opened this issue 4 years ago • 1 comments

I really like this game. Played it on Manjaro ARM Linux (which is basically an Arch Linux distro).

A few ideas for improvement:

  • [ ] Undo moves: more than likely undo as a tree of states. (Might use u as that command.)
  • [ ] Redo (Might use U (<Shift-U>) for that command.
  • [ ] Start over: return to the initial state of the game (Might use r as that command)
  • [ ] Press F2 for a new game
  • [ ] Allow m to select a column (Space does this, but using m seems to work better.)
  • [ ] Allow M (<Shift-M>) to select all the cards in the column.
  • [ ] Allow N (<Shift-N>) to deselect all the cards in the column that were selected.
  • [ ] Three card mode
  • [ ] Invert the colors of the BORDER of the card when the cursor is over it. (or use another color)
  • [ ] Invert the colors of the CARDS that are selected (or use another color)
  • [ ] Timer (show how long the game is going)
  • [ ] Points (Not sure how M$ does it, but that's been a classic feature.)
  • [ ] If Points is added, add a scoreboard? Or see who can do this the fastest?
  • [ ] man file (man ttysolitare)
  • [ ] Change the color of the deck
  • [ ] Change the color of the background (if the background is enabled)
  • [ ] 256 color support for those last two items. (that's popular lately.)
  • [ ] Auto-flip (When moving a card from a column that has cards unflipped underneath it, flip the next card automatically.)
  • [ ] Game Over screen for Wins (The game feels like it crashes upon a winning scenario. Rather than quit the game for the user, upon a possible winning scenario, either let the user complete the deck, have a button that allows for the deck to auto complete, or auto complete when a winning scenario is detected. Congratulate the user and ask if they want to play another game or quit.)
  • [ ] Game Over screen for Losses (The user has run out of moves. Ask if they want to start a new game or this game over.)
  • [ ] Hints (After a short delay, highlight some suggestions. (Might require a bit of AI?)

That's a pretty big list, so if anyone else contributes, it might be helpful towards this project.

jrcharney avatar Sep 02 '20 23:09 jrcharney

Start over: return to the initial state of the game (Might use r as that command)

Very bad idea. Letter 'r' to close to wasd buttons and user can press it accidently. Better to have a combination like Ctrl+Shift+r.

greno4ka avatar Dec 21 '20 16:12 greno4ka