henrijsprincis / simpleChessEngine

Chess Engine using alpha beta pruning, minimax and hashing
0 stars 0 forks source link

Improve move input UX #6

Open marleysudbury opened 2 years ago

marleysudbury commented 2 years ago

Currently inputting a move requires three step. E.g.:

  1. M⏎
  2. d2⏎
  3. d4⏎

This could at least be improved to two steps by assuming the user wants to move unless they say something else. E.g.:

  1. d2⏎
  2. d4⏎

Preferably, it could be reduced to one step, by assuming the user wants to move and parsing algebraic notation. E.g.:

  1. d4 ⏎
marleysudbury commented 2 years ago

Another alternative approach:

  1. M d2 d4⏎
marleysudbury commented 2 years ago

As of 826a4e977c2729b500efbe68cc5d3992e439bc41, moves do now work in the one step solution proposed above.

Before the branch can be merged, the following things are required: