Skip to content

ncypher/tomfoolery

Repository files navigation

🎮 Tomfoolery Games

A collection of fun, coded games for entertainment and experimentation!

� Space Invaders Pro (Retro Arcade Enhanced)

Classic space combat with modern JavaScript and cyberpunk aesthetics.

Features:

  • Neon Cyberpunk Design: Glowing elements, particle effects, and retro-futuristic styling
  • Advanced Game Mechanics:
    • Multiple enemy types with different behaviors
    • Progressive difficulty levels
    • Lives system and high score tracking
    • Dynamic enemy AI and shooting patterns
  • Enhanced Audio: Procedural sound effects using Web Audio API
  • Visual Effects:
    • Particle explosions on enemy destruction
    • Animated starfield background
    • Smooth bullet trails and glow effects
    • Screen shake and flash effects
  • Professional Polish: Class-based architecture, game state management, and responsive controls

Controls:

  • Movement: Arrow keys or A/D
  • Fire: Space bar
  • Pause: P key
  • Reset: R key

�🐍 Snake Pro (Enhanced)

Modern Snake game with professional graphics and smooth gameplay mechanics.

Features:

  • Enhanced Graphics: Smooth animations, particle effects, and modern styling
  • Professional UI: Beautiful dark theme with glowing elements and gradients
  • Advanced Game Options:
    • Wrap-around walls (torus mode)
    • Backtrack prevention
    • Visual trail effects
    • Particle effects on food consumption
  • Smooth Gameplay: Progressive speed increases and responsive controls
  • High Score System: Persistent high score tracking
  • Responsive Design: Works great on desktop and mobile devices

Controls:

  • Movement: WASD keys or Arrow keys
  • Pause/Resume: Space bar or P key
  • Restart: R key
  • Options: Toggle various visual and gameplay settings

🚀 3D Rubik's Cube Pro (Three.js Enhanced)

The ultimate 3D Rubik's Cube experience built with Three.js for realistic rendering and smooth gameplay.

Features:

  • Realistic 3D Graphics: Three.js WebGL rendering with proper lighting and shadows
  • Smooth Animations: Buttery-smooth face rotations with easing
  • Intuitive Controls:
    • Drag to rotate the entire cube view
    • Mouse wheel to zoom in/out
    • Click-and-drag face rotations
    • Keyboard shortcuts (U, D, L, R, F, B + Shift for prime)
  • Professional UI: Modern control panel with statistics tracking
  • Advanced Features:
    • Move counter and timer
    • Auto-solve algorithm
    • Smart scrambling
    • Real-time status updates

🧊 3D Rubik's Cube (Classic CSS)

Original lightweight version using pure CSS 3D transforms.

Features:

  • 3D Visualization: CSS 3D transforms create a realistic cube experience
  • Interactive Controls:
    • Arrow keys to orbit the cube
    • Face rotation buttons (U, D, L, R, F, B)
    • Keyboard shortcuts for moves
  • Game Functions:
    • 🔀 Scramble the cube
    • ✅ Auto-solve feature
    • ♻️ Reset to solved state
  • Move History: Track your solving progress

How to Play:

  1. Use the Scramble button to mix up the cube
  2. Rotate faces using the letter buttons or keyboard keys
  3. Use Solve to automatically solve the cube
  4. Navigate the 3D view with arrow keys

🏃 Cyber-Runner Pro (Enhanced Side-Scroller)

A fast-paced, cyberpunk-themed side-scrolling game. Jump to avoid obstacles and survive as long as you can in a futuristic city.

Features:

  • Animated Player Character: A custom-drawn, animated sprite for the player.
  • Dynamic Scrolling Background: Multi-layered parallax background for a sense of depth and speed.
  • Progressive Difficulty: The game gets faster and more challenging over time.
  • Particle Effects: Trailing particles for the player and explosion effects on collision.
  • Modern JavaScript: Built with a clean, class-based structure and a proper game loop.

Controls:

  • Jump: Space bar or Arrow Up
  • Start/Restart: Enter

🐾 Pixel Pet Pro (Virtual Pet Simulator)

A virtual pet game where you care for a cute, digital creature. Keep it happy, fed, and energized to watch it thrive!

Features:

  • Persistent State: The game saves your pet's progress in your browser, so it lives on even when you're away.
  • Expressive SVG Creature: A large, expressive pet with a wide range of moods and faces, powered by SVG.
  • Core Needs System: Manage your pet's Hunger, Happiness, and Energy.
  • Sleep/Wake Cycle: Your pet gets tired and needs to sleep, adding a new layer of realism.
  • Modern Codebase: Built with a professional, class-based architecture and a state machine for robust behavior.

Controls:

  • Feed: Click the "Feed" button.
  • Play: Click the "Play" button.
  • Sleep/Wake Up: Click the "Sleep"/"Wake Up" button.

🚀 Live Demo

Visit the live games at: https://ncypher.github.io/tomfoolery/

🛠️ Technical Details

  • Pure HTML, CSS, and JavaScript
  • No external dependencies
  • CSS 3D transforms for realistic cube rendering
  • QuickBase-friendly design (works in embedded environments)

📝 License

MIT License - Feel free to use and modify!

🤝 Contributing

This is a personal fun project, but suggestions and improvements are welcome!


Made with ❤️ for the joy of coding and gaming

About

a repo for fun little vibe coded games

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages