https://github.com/mathjx000/uefi-games
Simple games running using UEFI
https://github.com/mathjx000/uefi-games
uefi zig
Last synced: 8 months ago
JSON representation
Simple games running using UEFI
- Host: GitHub
- URL: https://github.com/mathjx000/uefi-games
- Owner: mathjx000
- License: mit
- Created: 2025-01-22T19:37:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-22T20:01:21.000Z (over 1 year ago)
- Last Synced: 2025-01-22T21:18:28.266Z (over 1 year ago)
- Topics: uefi, zig
- Language: Zig
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# UEFI Games
Simple games re-implemented for [UEFI] using the [Zig] programming language,
playable directly during boot process.
Contains the following games:
- [Connect 4](https://en.wikipedia.org/wiki/Connect_Four) (WIP)
## Building
Requires [Zig] version `0.14.0`.
```sh
# To build all the games simply use
zig build
# To get more info on what is available
zig build --help
```
## Running
You can place the built `efi` files in the right place, or you can test using a
virtual machine.
### Linux, using QEMU
Example command to run:
(You need to be in the right directory, which should contains
`efi/boot/xxx.efi`)
```sh
qemu-system-x86_64 -bios /usr/share/edk2/ovmf/OVMF_CODE.fd -hdd fat:rw:.
```
## Acknowledgements
- [UEFI examples in Zig](https://github.com/nrdmn/uefi-examples)
[UEFI]: https://uefi.org/ "Unified Extensible Firmware Interface"
[Zig]: https://ziglang.org/