Skip to content

A small puzzle game featuring a selection of 4x4 Sudoku puzzles.

Notifications You must be signed in to change notification settings

10aded/4x4-Sudoku-Game

Repository files navigation

4x4 Sudoku Puzzles

This is a simple puzzle game containing a collection of 4x4 Sudoku puzzles. Sudoku puzzles are a common type of grid puzzle; information about them can be found on Wikipedia.

Screenshot

Gameplay

Use the mouse to drag tiles onto the grid so that each row, column, and 2x2 quadrant contains the numbers 1,2,3,4 in some order. Levels do not save when the game is quit.

Build Instructions

This is a Zig project that natively calls raylib code (which is written in C). (More on dependencies below.)

Since the Zig compiler comes with its own build system and is also a C compiler, the project can be built and run with the command

zig build run

A release build can be created with the following command.

zig build -Doptimize=ReleaseFast

Building the project requires the compiler version to be 0.12.0 at minimum. The project has been tested with the Zig 0.12.0 compiler on Windows 11, available from the download page on ziglang.org. Compilation of the game on other operating systems has not been tested.

Dependencies

The project is written in Zig and uses the raylib library, specifically v5.0 (commit number ae50bfa). We included the necessary source files from raylib directly in our project (under the Raylib5 directory), but deleted unnecessary parts of the library (like its numerous examples). We also combined the build.zig file there into the build file for the project, simplifying it for Zig compiler 0.12.0.

Raylib is created by Ramon Santamaria (GitHub handle @raysan5) and is available on GitHub here. See the link above for Raylib's full license / copywrite details.

Development

The entire development of this app (basically) was streamed on Twitch and recordings were uploaded to YouTube at:

https://www.twitch.tv/10aded

https://www.youtube.com/@10aded

About

A small puzzle game featuring a selection of 4x4 Sudoku puzzles.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published