Type Attack is a high-performance terminal typing game written in C11. It features real-time input verification, per-character animated rainbow feedback, a dynamic difficulty and leveling engine, and persistent cross-platform scoring.
- Real-Time Keystroke Validation: Instant per-character visual feedback.
- Animated Rainbow Effect: Dynamically cycles color palettes on matching characters.
- Error Highlighting: Immediate red indicator on character mismatches.
- Event Log Console: Split vertical sidebar displaying real-time session events.
- Dual Feedback System: Contextual messages loaded from
congratsandloserdictionaries. - Dynamic Progression Engine: Falling speed scales proportionally with player level.
- Cross-Platform Persistence:
- Windows: Native Windows Registry (
HKCU\Software\TypeAttack). - Linux / POSIX: XOR-obfuscated local storage verified via SHA-256 integrity checksum.
- Windows: Native Windows Registry (
- Zero Bloat: Native compilation targeting Win32 / POSIX terminal subsystems without heavy runtime dependencies.
.
|-- CMakeLists.txt # Build system configuration
|-- build.bat # Automated build script for Windows
|-- run.bat # Automated launch script for Windows
|-- icon.ico # Application executable icon
|-- resource.rc # Windows resource and version metadata definition
|-- words # Primary dictionary of falling sentences
|-- congrats # Motivational message bank
|-- loser # Taunt message bank
|-- includes/ # PDCurses header files
|-- libs/ # Precompiled static libraries (pdcurses.lib, pdcurses.a)
`-- source/ # Engine source code and technical documentation
| Key | Action |
|---|---|
[A-Z] / [0-9] / [Space] |
Type active falling sentence |
[Backspace] |
Delete previous character |
[Esc] |
Return to menu / Exit game |
[Up] / [Down] |
Navigate menu options |
[Enter] |
Confirm menu selection |
- CMake 3.10 or higher
- Windows: MSVC (Visual Studio 2017+) or MinGW
- Linux: GCC / Clang,
libncurses5-dev/libncursesw5-dev
cmake -B build -A Win32 .
cmake --build build --config Debug
.\build\Debug\TypeAttack.exeOr execute the automated batch script:
.\build.batcmake -B build .
cmake --build build
./build/TypeAttackGPL3.0. Copyright OLDGAME-Proyect (C) 2026.
