Goal: implement Game of 23.
Game of Fifteen is a well-known pre-computer puzzle:
−→
The idea is to move the pieces around (not removing them from the
box) to put them in order, as on the right.
Similar game can be played in boxes of different size, for example 4 by
6, which would have 24 places and use 23 pieces.
There is nice theory related to the puzzle and a number of generalizations as well as other variations of the physical puzzle.
Use direct write to the video memory (seg 0xB800). 2. Output
will be explained(today), input can be done using int 16h (look up). 3.
Recommendation to use color and line draw characters (2nd half of the
ASCII OEM set)