Skip to content

Latest commit

 

History

47 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🦱 NuoiHair

A small arcade game inspired by Snake, built with Unity and C#.

Unity CSharp Status


🎮 About The Game

NuoiHair is a small arcade game inspired by the classic Snake gameplay.

Control a character with magical hair, collect food to increase hair length, avoid dangerous obstacles, and reach the target length to win the game.

While the gameplay is simple, this project focuses on building clean and maintainable game architecture using common Unity development patterns.

Note: This project is a recreation of an existing game concept found online and was developed for educational purposes. The primary goal was to practice gameplay programming, State Machine architecture, Event-Driven communication, and Object Pooling techniques in Unity.


🙏 Credits

This project was recreated as a learning exercise based on a tutorial/gameplay example by [Làm Game Dạo].

Original Tutorial:

The purpose of this project was to practice Unity development concepts such as State Machines, Event-Driven Architecture, and Object Pooling while recreating the core gameplay mechanics.


🛠️ Technologies Used

  • Unity Engine
  • C#
  • State Machine
  • Action Events
  • Object Pooling

📖 Gameplay

Controls

Key Action
W A S D Move
K Boost Speed

Objective

  • Collect food to grow your hair.
  • Avoid obstacles.
  • Reach the target hair length.
  • Use Boost strategically because it consumes hair length.

📋 Current Content

  • Hair Growth System
  • Boost Mechanic
  • Food Collection
  • Obstacle Avoidance
  • Win / Lose Conditions
  • Dynamic Hair Length UI
  • Object Pooling System

🏗️ Architecture & Design

Built with a focus on clean, modular, and scalable architecture.

Pattern Purpose
🎭 State Machine Handles Player and Game States
⚡ Action Events Event-driven communication between systems
♻️ Object Pooling Reuses Food and Obstacle objects efficiently

Highlights

  • 🎮 Player State Management
  • 🏆 Game State Management
  • ⚡ Event-Driven Architecture
  • ♻️ Optimized Object Spawning
  • 🧩 Modular & Easy To Extend

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages