Skip to content

vyredo/wordle-haskell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WORDLE in Haskell

How to run

  • clone this project and run cabal run
  • There are 3 Color Scheme:
    • Green if the letter of guess is in correct position
    • Blue if the letter of guess is incorrect position but is part of answer
    • Black if the letter of guess is not part of answer

Notes

I start the initial version of this app using Typescript (the code is in ts-version folder), I try to make the code as close to Haskell syntax.
Ian helped me in translating typescript code to haskell version. The Typescript version is not stable and no longer maintained.

TODO:

  • Currently the word is hardcoded to hello, should add feature to select any random 5 letters word.
  • refactor gameLoop function, to use Monad Transformer
  • Check if guess submitted is a valid english word, plan to use http service for this feature
    • A good exercise to run http request in Haskell

About

A wordle clone by using Haskell. The game is only playable by using command line

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors