Skip to content

overspend1/overcode

Repository files navigation

๐Ÿš€ OverCode - The Ultimate Polyglot Programming Environment

Version Languages Games Status

OverCode is the next evolution of polyglot programming! Based on m5rcode but with INSANE enhancements including:

  • ๐ŸŽฎ 12+ Built-in Games (Snake, Tetris, 2048, Adventure, etc.)
  • ๐ŸŒˆ 5 Beautiful Themes (Cyberpunk, Matrix, Ocean, Sunset, Hacker)
  • ๐Ÿ’ป 20+ Programming Languages (Python, JS, Go, Rust, Java, PHP, etc.)
  • ๐Ÿ› ๏ธ Developer Tools (Formatter, Debugger, Profiler)
  • ๐Ÿ“ฆ Package Manager for extensions
  • ๐ŸŽจ ASCII Art Generator
  • ๐Ÿ”’ Security Tools (Encryption, Hashing)
  • ๐Ÿค– AI/ML Templates
  • ๐ŸŒ Web Development Stack

โœจ What Makes OverCode EPIC?

๐ŸŽฎ Gaming Center

Transform your coding session into an entertainment experience!

game snake     # Classic Snake game
game tetris    # Epic Tetris with ASCII blocks
game 2048      # Number puzzle game
game adventure # Text-based RPG in programming world
game mines     # Minesweeper with digital mines
game quiz      # Programming knowledge quiz

๐ŸŒˆ Theme System

Your shell, your style!

theme cyberpunk  # Neon purple/cyan vibes
theme matrix     # Green-on-black hacker aesthetic  
theme ocean      # Calming blue gradients
theme sunset     # Warm orange/pink colors
theme hacker     # Terminal green with dark accents

๐Ÿ’ป Multi-Language Support

Write in 20+ languages in one file!

<?py
print("๐Ÿ Python is awesome!")
?>

<?js
console.log("๐ŸŸจ JavaScript rocks!");
?>

<?go
fmt.Println("๐Ÿน Go is fast!")
?>

<?rs
println!("๐Ÿฆ€ Rust is safe!");
?>

<?java
System.out.println("โ˜• Java runs everywhere!");
?>

๐Ÿš€ Quick Start

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/overcode.git
cd overcode
  1. Install dependencies:
pip install -r requirements.txt
  1. Launch OverCode:
python overshell.py

Your First OverCode Experience

# Create a hello world file
new hello.ovc:hello

# Run it and see magic happen
run hello.ovc

# Play some games!
game

# Change the theme
theme matrix

# View awesome help system
help

๐Ÿ“š Feature Showcase

๐ŸŽฏ File Templates

Create files with pre-built templates:

new demo.ovc:games     # Gaming showcase
new ai.ovc:ai         # Machine learning examples  
new web.ovc:web       # Full-stack web development
new security.ovc:crypto # Cryptography and security

๐ŸŽฎ Built-in Games

Game Description Command
๐Ÿ Snake Classic snake with emoji graphics game snake
๐ŸŸฆ Tetris Block-stacking puzzle game tetris
๐Ÿ”ข 2048 Number combination puzzle game 2048
๐Ÿงฌ Game of Life Cellular automaton simulation game life
โš”๏ธ Text Adventure Programming-themed RPG game adventure
๐Ÿ’ฃ Minesweeper Mine detection game game mines
๐Ÿ“ Pong Classic arcade tennis game pong
๐Ÿง  Memory Symbol matching game game memory
๐ŸŽช Hangman Programming word guessing game hangman
โœ‚๏ธ Rock Paper Scissors vs AI opponent game rps
๐Ÿค” Programming Quiz Test your coding knowledge game quiz

๐Ÿ› ๏ธ Developer Tools

format code.ovc        # Format and beautify code
debug script.ovc       # Interactive debugger
benchmark test.ovc     # Performance testing
stats                  # Session statistics
encrypt file.txt       # File encryption tools

๐ŸŒˆ Available Themes

Theme Description Colors
๐Ÿ”ฎ Cyberpunk Neon-futuristic Purple, Cyan, Green
๐Ÿ–ฅ๏ธ Matrix Hacker aesthetic Green variations
๐ŸŒŠ Ocean Calming blues Blue, Cyan, Light Blue
๐ŸŒ… Sunset Warm colors Yellow, Red, Magenta
๐Ÿ’š Hacker Terminal vibes Black, Green, Light Green

๐ŸŽจ Language Support

OverCode supports 20+ programming languages with automatic execution:

Compiled Languages

  • C/C++ - System programming powerhouses
  • Rust - Memory-safe systems programming
  • Go - Concurrent and efficient
  • Java - Write once, run anywhere
  • C# - Microsoft's versatile language
  • Kotlin - Modern JVM language
  • Swift - Apple's powerful language

Interpreted Languages

  • Python - The swiss army knife
  • JavaScript - Web and beyond
  • TypeScript - Typed JavaScript
  • PHP - Web development classic
  • Ruby - Programmer happiness
  • Lua - Lightweight scripting
  • Perl - Text processing master
  • R - Statistical computing
  • Julia - High-performance scientific

Scripting & Shell

  • Bash - Unix shell scripting
  • PowerShell - Windows automation
  • Dart - Flutter and web development

๐Ÿ’ก Example Code

๐ŸŽฎ Gaming Example

<?py
# Snake Game Logic
import random

class SnakeGame:
    def __init__(self):
        self.score = 0
        self.snake = [(10, 10)]
        self.food = (5, 5)
    
    def move(self, direction):
        print(f"Snake moving {direction}! Score: {self.score}")

game = SnakeGame()
game.move("right")
?>

<?js
// Game UI with JavaScript
class GameUI {
    constructor() {
        this.canvas = "ASCII Canvas";
    }
    
    render(gameState) {
        console.log("๐ŸŽฎ Rendering game...");
        console.log(`Score: ${gameState || 0}`);
    }
}

const ui = new GameUI();
ui.render(100);
?>

๐Ÿค– AI/ML Example

<?py
# Neural Network
import random

class Neuron:
    def __init__(self):
        self.weights = [random.random() for _ in range(3)]
    
    def predict(self, inputs):
        return sum(w * i for w, i in zip(self.weights, inputs))

neuron = Neuron()
result = neuron.predict([1, 0.5, 0.8])
print(f"๐Ÿง  Neural output: {result:.3f}")
?>

<?js
// AI Data Processing
const data = [1, 2, 3, 4, 5];
const processed = data.map(x => x * x);
console.log("๐Ÿ“Š Processed data:", processed);

// Simple ML Algorithm
function linearRegression(x, y) {
    const n = x.length;
    const sumX = x.reduce((a, b) => a + b, 0);
    const sumY = y.reduce((a, b) => a + b, 0);
    
    console.log(`๐Ÿ“ˆ Training on ${n} samples`);
    return { slope: sumY / sumX, intercept: 0 };
}

const model = linearRegression([1, 2, 3], [2, 4, 6]);
console.log("๐ŸŽฏ Model trained:", model);
?>

๐ŸŒ Web Development Example

<?py
# Python Backend API
from datetime import datetime
import json

def create_user_api():
    users = [
        {"id": 1, "name": "Alice", "role": "developer"},
        {"id": 2, "name": "Bob", "role": "designer"}
    ]
    
    response = {
        "status": "success",
        "data": users,
        "timestamp": datetime.now().isoformat()
    }
    
    print("๐ŸŒ API Response:")
    print(json.dumps(response, indent=2))

create_user_api()
?>

<?js
// Frontend JavaScript  
class UserInterface {
    constructor() {
        this.users = [];
    }
    
    async loadUsers() {
        console.log("๐Ÿ“ก Loading users from API...");
        // Simulate API call
        this.users = [
            { name: "Alice", avatar: "๐Ÿ‘ฉโ€๐Ÿ’ป" },
            { name: "Bob", avatar: "๐Ÿ‘จโ€๐ŸŽจ" }
        ];
        this.render();
    }
    
    render() {
        console.log("๐ŸŽจ Rendering UI:");
        this.users.forEach(user => {
            console.log(`${user.avatar} ${user.name}`);
        });
    }
}

const ui = new UserInterface();
ui.loadUsers();
?>

<?php
// PHP Server Logic
class DatabaseManager {
    private $users = [
        ["email" => "alice@overcode.dev", "active" => true],
        ["email" => "bob@overcode.dev", "active" => false]
    ];
    
    public function getActiveUsers() {
        $active = array_filter($this->users, function($user) {
            return $user['active'];
        });
        
        echo "๐Ÿ˜ Active users from PHP:\n";
        foreach ($active as $user) {
            echo "- " . $user['email'] . "\n";
        }
    }
}

$db = new DatabaseManager();
$db->getActiveUsers();
?>

๐ŸŽฏ Advanced Features

๐Ÿ“ฆ Package System (Coming Soon)

package install game-engine    # Install gaming extensions
package install ai-tools       # ML/AI utilities  
package install web-framework  # Web development tools
package list                   # Show installed packages
package update                 # Update all packages

๐Ÿ”’ Security Tools

encrypt myfile.txt            # Encrypt files
hash document.pdf             # Generate file hashes  
secure-delete sensitive.doc   # Secure file deletion

๐Ÿ“Š Data Visualization

plot data.csv                 # Generate ASCII graphs
table users.json              # Display data tables
export results.xlsx           # Export to various formats

๐ŸŽจ Customization

Creating Custom Themes

{
    "name": "my-theme",
    "colors": {
        "primary": "#ff6b6b",
        "secondary": "#4ecdc4", 
        "accent": "#45b7d1",
        "error": "#ff5252",
        "warning": "#ffc107",
        "info": "#2196f3",
        "text": "#ffffff"
    }
}

Adding Custom Commands

class CustomCommand:
    def __init__(self, args):
        self.args = args
    
    def run(self):
        print("๐Ÿ”ง Running custom command!")
        # Your custom logic here

๐Ÿค Contributing

We'd love your help making OverCode even more EPIC!

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Add your epic code (games, languages, themes, tools!)
  4. Commit your changes (git commit -m 'Add AmazingFeature')
  5. Push to the branch (git push origin feature/AmazingFeature)
  6. Open a Pull Request

Ideas for Contributions

  • ๐ŸŽฎ New Games - Breakout, Space Invaders, Chess
  • ๐ŸŒˆ New Themes - Dracula, Nord, Monokai
  • ๐Ÿ’ป Language Support - Zig, V, Crystal
  • ๐Ÿ› ๏ธ Developer Tools - Linter, Profiler, Formatter
  • ๐Ÿ“ฑ Mobile Support - Android/iOS compatibility

๐Ÿ“‹ Requirements

Python 3.8+
colorama>=0.4.4
pyfiglet>=0.8.post1
pypresence>=4.2.1 (optional, for Discord RPC)
requests>=2.25.1

Optional Dependencies

# For full language support
node.js          # JavaScript/TypeScript
go               # Go language
rustc            # Rust compiler  
gcc/g++          # C/C++
java/javac       # Java
php              # PHP
ruby             # Ruby

๐Ÿ”ฎ Roadmap

Version 2.1 - "Performance Beast"

  • ๐Ÿš€ JIT Compilation for faster execution
  • ๐Ÿ“Š Real-time Performance Monitoring
  • ๐Ÿ”ง Advanced Debugging Tools
  • ๐Ÿ“ฑ Mobile App (React Native)

Version 2.2 - "AI Revolution"

  • ๐Ÿค– AI Code Assistant (ChatGPT integration)
  • ๐Ÿง  Smart Autocomplete
  • ๐Ÿ” Intelligent Error Detection
  • ๐Ÿ“š AI-powered Documentation

Version 2.3 - "Cloud Connected"

  • โ˜๏ธ Cloud Sync for settings/files
  • ๐ŸŒ Online Code Sharing
  • ๐Ÿ‘ฅ Collaborative Coding
  • ๐Ÿ“ˆ Analytics Dashboard

๐Ÿ† Credits & Inspiration

OverCode is built with โค๏ธ by:

  • Original Concept: Based on m5rcode
  • Enhanced by: The OverCode development team
  • Special Thanks: The entire programming community

Built With

  • Python - Core shell and interpreter
  • Colorama - Cross-platform colored terminal text
  • Pyfiglet - ASCII art text generation
  • Love & Coffee - The secret ingredients โ˜•

๐Ÿ“œ License

This project is licensed under the MIT License - see the LICENSE file for details.


๐ŸŒŸ Star This Project!

If OverCode made your coding experience more EPIC, please give us a โญ!

Happy Coding! ๐Ÿš€๐Ÿ’ปโœจ


Made with ๐Ÿ’œ by developers, for developers

About

Shell interpreter

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published