Skip to content

namanbiyani/Haskell-scrabble-solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Divyanshu
Jul 9, 2019
86c55a7 · Jul 9, 2019

History

46 Commits
Jul 9, 2019
Jul 2, 2019
Jul 8, 2019
Jul 8, 2019

Repository files navigation

Haskell Scrabble Solver

A scrabble solver written in Haskell, a functional programming language.

Board

Features

Go into the Scrabble folder and run:- runhaskell Scrabble.hs

Command

Scrabble Prompt

  • Two Player Game

The two player game allows two players to play scrabble. We can add the word manually in the board, or we can choose "Start Game". In first case we provide the word, its starting coordinates, and orientation(horizontal or vertical).

2 Player

Computer checks the validity of the word in the dictionary and adds it to the board.

Board Addition

In the Start Game option the computer provides us with 7 letters.

Start Game

We have to construct a word on the board using the letters. Computer checks the validity of the word in the dictionary and adds it to the board, it also shows the points scored by forming this board.

Game

  • Play With Me

Play PC

We can use this feature to play with the computer or to get help in choosing the optimal word(to score highest points). It asks for 7 letters which it should use to construct the word on the board.

Ask Letters

The Computer constructs the word which will give a maximum score from these letters on the board and writes it on the board.

New Board

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published