Skip to content

Wordle-like game, made using c++17 and raylib 4.0

Notifications You must be signed in to change notification settings

st3ph4nnn/swordle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swordle

image image

Swordle is a Wordle-like game made by stephan, using C++17 and RAYLIB 4.0
Raylib: https://www.raylib.com/
Wordle explained: https://en.wikipedia.org/wiki/Wordle

Feature list:

  • Changeable wordlist (see FAQ)
  • 5761 5 letter words default to be used from the english dictionary
  • Some Sound Effects
  • A little bit easier than the real wordle

FAQ

  1. How can i play the game?

Go to the releases page on the right side of the page, and download the latest .ZIP file
After that, extract it in a directory and open swordle.exe (if you are on windows);

If you are on linux, open a terminal in the directory, type chmod +x game,
then play the game using ./game in the same directory.

  1. Can i change the wordlist?

Yes you can, but as for now, the wordlist MUST have 5761 lines, or else the game might break.
Edit the wordlist at your own risk.

  1. Why its not picking any words?

The game will warn you if there is no list available.
If you however have the list, edit it, copy everything inside, delete, save it,
open it again, paste, save again, and issues should be gone. Remember, the list
must have 5761 LINES and be in the same DIRECTORY as the game!

Known issues

Your screen must have atleast the resolution HD, lower than that, it wont work.

For developers

Windows

In order to properly build the game, you will need:

After that, go in to the build directory and type in the terminal mingw32-make.exe
Wait a few seconds, and your game should be compiled in the directory 'windows/'

! Remember to copy wordlist to the folder you have built for! (its very important!)

Linux

In order to properly build the game, you will need:

  • An IDE of choice
  • A terminal
  • Latest g++ version (tested on 7.5.0)

After that, install these:

Ubuntu-based

sudo apt install git libasound2-dev mesa-common-dev libx11-dev libxrandr-dev libxi-dev xorg-dev libgl1-mesa-dev libglu1-mesa-dev

Redhat-based

sudo dnf install git alsa-lib-devel mesa-libGL-devel libX11-devel libXrandr-devel libXi-devel libXcursor-devel libXinerama-devel

After that, you will need to do the following commands in a temporary directory:

Great. Now you are able to go download the game source, and go in to the build/ folder,
and type make OS=LINUX

! Remember to copy wordlist to the folder you have built for! (its very important!)

About

Wordle-like game, made using c++17 and raylib 4.0

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published