Back to articles

Tag archive

#codegolf

R
Mar 6, 2019

Reversi(Othello) game program which you can choose the first or the second in 7 lines code of C.

This article introduces a tiny Reversi(Othello) game programe which written by C in 79 characters × 7 rows. The original version of this program had been posted on 2ch which is a famous anonymous BBS in Japan for 18 years ago. Its' size was very tiny, but even "AI" routine was equipped. In the original version, players are always the first, but this time I make it to add a feature that the player can choose the first or the second under the code size limitation of 79 charcters x 7 lines.

Mar 6, 20195 min read9 reactions0 comments