szymor / vwordle

Implementation of Wordle in C++ and SDL 1.2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vwordle

Yet another Wordle implementation by vamastah. The original idea comes from Josh Wardle, a Welsh-born software engineer.

how to play

Players have six attempts to guess a five-letter word; feedback is given for each guess, in the form of colored tiles, indicating when letters match or occupy the correct position. The mechanics are nearly identical to the 1955 pen-and-paper game Jotto and the US television gameshow Lingo.

Tile types:

  • green - a letter is in the word and in the correct spot,
  • yellow - a letter is in the word but in the wrong spot,
  • gray - a letter is not in the word in any spot.

hardware requirements

The game was created with retro handhelds in mind, so it should run properly on any device supporting 320x240 resolution.

At the moment the game has been ported to the following platforms:

  • MiyooCFW (Bittboy, PocketGo, Powkiddy V90, etc.),
  • RetroFW (RS97, LDK, RG300, etc.),
  • LG webOS TV 4.0 and above.

known issues

  • [MiyooCFW] background music plays once and then stops playing.
  • [LG webOS TV 4.0/5.0] visual flickering and instability. The game works fine on webOS TV 6.0 and 22.

dictionary

The dictionary with word definitions is stored as a SQLite 3 database file. The entity relationship diagram of the database is as follows:

erDiagram
    definitions }|--|| words : describes
    definitions }|--|| speech_part : "used as"

    definitions {
        integer definitions_id
        text definition
        integer word_id
        integer speech_part_id
    }

    words {
        integer id
        text word
    }

    speech_part {
        integer speechpart_id
        text speech_part
    }

Script for building the database is here.

Many thanks to a0w-svg for implementing this feature!

license

The source code of the game is licensed under GNU GPL 3.0 by vamastah.

The music is licensed under CC BY 4.0 by M33 Project. https://freemusicarchive.org/

The click1 sound is licensed under CC0 1.0 by Ranner. https://freesound.org/

The click2 sound is licensed under CC0 1.0 by errysn. https://freesound.org/

The word definitions are from wordset-dictionary founded by Hampton Lintorn Catlin and Michael Lintorn Catlin. https://github.com/wordset/wordset-dictionary

About

Implementation of Wordle in C++ and SDL 1.2

License:GNU General Public License v3.0


Languages

Language:C++ 85.5%Language:Python 7.0%Language:HTML 6.2%Language:Makefile 1.3%