GitXplorerGitXplorer
r

haskell-tic-tac-toe

public
2 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
7c95b2c8ffddd426f55a9df5a4a808bb55e85796

Update ContextSpec to use Token rather than String

rrewinfrey committed 9 years ago
Unverified
80af024cbd50839a20dcd5e47541504681c93e90

Update type annotations

rrewinfrey committed 9 years ago
Unverified
fa6bfffd4d5aa1ef343087b9b2510f06250782f7

Add newToken convenience function

rrewinfrey committed 9 years ago
Unverified
ee56f7558cf3f2f09cf02b938bc6b7582ef34bf7

Prevent Token conflicts with Player's Token by renaming the Space field token -> spaceToken

rrewinfrey committed 9 years ago
Unverified
11e512aa7b9ed887927a7891b208153697d895e9

Adds currentPlayer field to the GameContext

rrewinfrey committed 9 years ago
Unverified
957919b7640670e8adf37fbd997a35479cb67de7

Minimax v2

rrewinfrey committed 9 years ago

README

The README file for this repository.

Haskell Tic Tac Toe

This is a practice project to become more familiar with Haskell.

Setup

$ git clone git@github.com:rewinfrey/haskell-tic-tac-toe.git
$ cd haskell-tic-tac-toe
$ stack build

Play the game

$ stack exec tic-tac-toe

Run the tests

$ stack build --test

License (MIT)

Copyright (c) 2016 Rick Winfrey

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.