Skip to content

breineng/supermarket-simulator

Repository files navigation

Supermarket Simulator fully generated by AI

Description

Supermarket Simulator is an experimental Unity game that simulates managing a small supermarket from a first-person perspective. Players order goods, unpack deliveries, stock shelves, and serve customers at the cash register. This project explores whether AI can fully generate a complete video game. It was created using Cursor AI, powered by models including Gemini 2.5 Pro, Claude Opus 4, and Claude Sonnet 4. The creation process can be viewed on YouTube: Watch the Creation Process.

Download and Play the Build

  1. Go to the Releases page of this repository.
  2. Download the latest release archive (SupermarketSimulator.zip).
  3. Extract the archive to a folder on your computer.
  4. Run the executable file (Supermaket Simulator.exe) to start the game.

Installation from Source

  1. Clone the repository: git clone https://github.com/breineng/supermarket-simulator.git
  2. Open the project in Unity Editor (version 2023.2.6f1).
  3. In the Unity Editor, open the scene located at Assets/Scenes/InitScene.unity.
  4. Press Play in the Editor to run the game, or build it for your target platform.

Technology and Architecture

This project uses Unity 2023.2.6f1 as the game engine with C# scripting. 3D models were generated using the Hunyuan. Key library: BehaviourInject (com.sergeysychov.behaviour_inject v1.0.8) for dependency injection.

Architecture follows:

  • Dependency Injection via BInject for loose coupling.
  • Service-oriented design: Logic in POCO classes unless requiring Unity features.
  • State machines for AI behaviors.
  • Event-driven systems.
  • Universal Render Pipeline (URP) for rendering.
  • MVC patterns in UI.

Screenshots

image image image image

Used Assets

  • BehaviourInject: DI framework for Unity (MIT license).
  • Unity Universal Render Pipeline (URP).
  • TextMesh Pro for text rendering.

Requirements

  • Unity 2023.2.6f1 or later for development.
  • Windows OS for running builds (other platforms via source build).
  • Standard PC hardware capable of running Unity games.

About

Fully AI generated Unity game - Supermarket Simulator

Resources

License

Stars

Watchers

Forks

Packages