Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Cpp-Learning

My C++ learning journey — from Hello World to full projects!


🔥 Projects

Project Description File
Space Terminal v1.0 Space mission control terminal projects/space_terminal.cpp
Calculator v1.0 Calculator with memory & history projects/calculator.cpp
Tic Tac Toe v1.0 Play vs friend or AI projects/tic_tac_toe.cpp
Battle Arena v1.0 RPG battle with waves & levels projects/battle_game.cpp
Battle Arena v2.0 Advanced RPG with classes & shop projects/battle_arena_advanced.cpp
Rock Paper Scissors Classic 2P game projects/rock_paper_scissors.cpp
Duel Arena Advanced 2-player RPG with 6 classes projects/duel_arena.cpp
Battle Royale 50-player survival game (Free Fire style) projects/battle_royale.cpp
Battle Royale GFX v2.0 Fortnite-style HUD with ANSI colors & minimap projects/battle_royale_gfx.cpp

🔥 Battle Royale — Graphics Edition v2.0 (Featured)

Fortnite-style HUD layout with ANSI colors and ASCII minimap!

HUD Layout

  1. Top-left: Kill counter, Alive count, Turn timer
  2. Top-right: ASCII minimap (15x15 grid) with player, enemies & zone
  3. Bottom-left: Player name box
  4. Bottom-center: Health bar (green/yellow/red) + Armor bar (blue)
  5. Bottom-right: Inventory slots with weapon rarity + Items (potions/bandages)
  6. Center: Combat feed, eliminations, nearest enemy info

Visual Features

  1. ANSI color codes throughout
  2. ASCII minimap with zone visualization
  3. Colored HP/Armor bars with block characters
  4. Weapon rarity colors (white/green/cyan/purple/gold)
  5. Box-drawing borders
  6. Elimination feed with skull marker

Gameplay

  1. 50-player battle royale (you + 49 AI bots)
  2. 12 weapons across 5 rarity tiers
  3. Shrinking safe zone with increasing damage
  4. Loot system — weapons, heals, bandages, armor
  5. 3 AI personalities — passive, balanced, aggressive
  6. Headshot mechanic, kill feed, rank system

How to Run

g++ projects/battle_royale_gfx.cpp -o brgfx
./brgfx

⭐ Star this repo if you found it helpful!

Built with passion by Aanad

Last Dawn: Fall of Humanity (Latest Project)

A 9-region open world survival horror game in C++ with:

  • 9 regions: Northern Forest, Downtown, Abandoned Suburbs, River Side, East Harbor, Industrial Zone, Military Base, Underground Lab, South Farmlands
  • Zombie AI (walkers + runners) with chase behavior
  • Inventory system: torch, first aid, baseball bat, safe house key
  • Combat system with melee weapons
  • Story cutscenes
  • Full ASCII world map with markers
  • Win condition: find all items and reach the East Harbor safe house

Play the HTML5 version (browser, mobile + desktop):

last_dawn_world.html

Compile C++ version:

g++ -o last_dawn projects/LastDawnGame.cpp -std=c++17
./last_dawn

About

C++ Learning Journey — From basics to game development. Daily exercises, projects, and challenges.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages