MENU

GET IN TOUCH

Back

Combat Algo AI Game System

Year

2024

Tech & Technique

Python, Pygame, Ray Casting, A* Pathfinding, OOP, Vector Math, AI Behavior Trees

Description

A high-performance Combat-style first-person shooter built with Python and Pygame, featuring AI-controlled enemies using shortest-path algorithms, intelligent spawn balancing, and real-time ray-casting for immersive 3D gameplay.

Key Features:
  • 🎮 Combat-Style 2D Raycasting Engine: Built a real-time ray-casting renderer inspired by Wolfenstein 3D for fast, immersive first-person gameplay.
  • 🔫 Core FPS Mechanics: Designed responsive shooting, health, ammo systems, pickups, and combat feedback.
  • 🕹️ WASD + Mouse Controls: Implemented smooth keyboard movement and mouse-driven camera rotation for classic FPS fee.
  • 🤖 AI-Driven Enemies: Developed enemy AI that actively hunts the player using shortest-path navigation.
  • ⚖️ Dynamic Spawn Balancing: Controlled enemy spawn rates to maintain fair difficulty and stable performance(challenging to achieve it).

Architecture Overview:
  • Raycasting Engine Core: Casts rays per frame to calculate wall intersections and depth-correct rendering.
  • Game Loop & Systems Layer: Central loop handling input, physics, AI updates, rendering, and combat logic.
  • Enemy AI Module: Grid-based A* pathfinding for intelligent navigation and player pursuit.
  • Resource Pipeline: Organized textures, sprites, sounds, and maps for efficient loading and reuse.

Technical Highlights:
  • Developed entirely in Python using Pygame for real-time rendering and input handling.
  • Implemented A* pathfinding for enemy navigation and obstacle avoidance.
  • Optimized ray-casting and update loops for consistent frame rates.
  • Packaged a standalone Windows executable using PyInstaller.

My Role

Game Developer & AI Engineer
Personal Project – Combat -Style 3D Raycasting FPS
  • 🎮 Independently developed a high-performance Wolfenstein-inspired 3D FPS using Python and Pygame.
  • 🧠 Designed and implemented a real-time ray-casting engine to simulate immersive 3D environments.
  • 🤖 Built AI-driven enemies using shortest-path navigation (A* pathfinding) for intelligent player pursuit.
  • 🔫 Implemented core FPS mechanics including mouse-based aiming, WASD movement, shooting, health, and pickups.
  • ⚖️ Engineered dynamic spawn balancing to maintain fair difficulty and stable performance.

VISHAL-KRISHNA

vishalkrishnakkr@gmail.com