Skip to content

pstepanovum/minecraft-classic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Full Stack Development (Voxel Game)

A browser-based Minecraft game built with Three.js for rendering and Socket.IO for multiplayer functionality. This project features a voxel-based world with terrain generation, player movement, and basic block manipulation.

🌟🌟 5 Stars - Core Gameplay Elements

  • Implement optimized seed generation
  • Add beautiful terrain generation with nature elements
  • Implement block collision detection
  • Allow players to add and remove blocks across the server
  • Set up project structure (frontend/backend)
  • Implement basic Three.js rendering
  • Create simple cube-based world
  • Add tree generation for terrain (Part)
  • Implement cave generation (Part)
  • Add water features to the world (Part)
  • Implement player rotation visible to all connected players

🌟🌟🌟🌟 25 Stars - Player Interactions and UI

  • Add a menu section with game settings
  • Implement player health system and physics-based damage (e.g., fall damage)

🌟🌟🌟🌟🌟 50 Stars - Advanced Features

  • Implement day/night cycle
  • Add basic crafting system
  • Introduce simple AI mobs (e.g., animals, hostile creatures)

🌟🌟🌟🌟🌟🌟 100 Stars - Polish and Expandability

  • Optimize performance for larger worlds and more players
  • Add sound effects and background music
  • Implement a basic modding system for easy expandability

📝 To-Do List (Next Steps)

  1. Optimize seed generation algorithm
  2. Implement beautiful terrain generation with nature elements
    • Add varied biomes (forests, deserts, mountains)
    • Implement smooth transitions between biomes
  3. Add block collisions for all objects in the world
  4. Implement server-wide block manipulation (add/remove)
  5. Develop tree generation algorithm for diverse forests
  6. Create cave generation system for underground exploration
  7. Add water features (lakes, rivers, oceans)
  8. Implement player rotation visible to all connected players
  9. Design and implement a user-friendly settings menu
  10. Develop health system and physics-based damage calculations

Features

  • Procedurally generated terrain using Simplex Noise
  • Multiplayer functionality with real-time updates
  • Block placement and removal
  • Day/night cycle
  • Player movement and collision detection
  • Minimap for navigation

Getting Started

Prerequisites

  • Node.js (v14 or higher)
  • npm (usually comes with Node.js)
  • Git

Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/minecraft-classic-clone.git
    cd minecraft-classic-clone
    
  2. Install backend dependencies:
    cd backend
    npm install
    
  3. Install frontend dependencies:
    cd ../frontend
    npm install
    

Usage

  1. Start the backend server:
    cd backend
    npm install
    npm start
    
  2. In a new terminal, start the frontend server:
    cd frontend
    npm install
    npm start
    
  3. Open your web browser and navigate to http://localhost:8080 to play the game.

Contributing

We welcome contributions! Please see our Contributing Guidelines for more details on how to get started.

License

This project is licensed under the MIT License.