Skip to content

Instantly share code, notes, and snippets.

View oboenikui's full-sized avatar

Takaki Hoshikawa oboenikui

View GitHub Profile
@rinx
rinx / othello.hs
Last active December 22, 2015 15:58
Haskellでオセロ。2013年度前期の大学の課題ではない。(元ネタ: https://gist.github.com/oboenikui/6297337)
-- othello.hs
--
-- To run...
-- Prelude> control initialBoard initialTurn
--
-- controls...
-- cursor keys => move cursor
-- Z key => put stones
-- P key => pass the turn
-- Q key => quit