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.
- Go to the Releases page of this repository.
- Download the latest release archive (SupermarketSimulator.zip).
- Extract the archive to a folder on your computer.
- Run the executable file (Supermaket Simulator.exe) to start the game.
- Clone the repository:
git clone https://github.com/breineng/supermarket-simulator.git - Open the project in Unity Editor (version 2023.2.6f1).
- In the Unity Editor, open the scene located at
Assets/Scenes/InitScene.unity. - Press Play in the Editor to run the game, or build it for your target platform.
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.
- BehaviourInject: DI framework for Unity (MIT license).
- Unity Universal Render Pipeline (URP).
- TextMesh Pro for text rendering.
- 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.