10 comments

  • AnyTimeTraveler4 days ago
    This readme could really benefit from a screenshot.
    • timeon4 days ago
      Seems like Claude is not good at generating screenshots yet.
    • geerlingguy4 days ago
      Came here to say the exact same thing. At a glance, is it 3D or 2D? Console game like snake or with color and sprites? Etc.<p>Either screenshots or a gif would be nice.
  • dfee4 days ago
    Here&#x27;s a recording of game play I made: <a href="https:&#x2F;&#x2F;imgur.com&#x2F;Gy9mH57" rel="nofollow">https:&#x2F;&#x2F;imgur.com&#x2F;Gy9mH57</a><p>Sorry if imgur sucks. I don&#x27;t know a better option.
  • dvt4 days ago
    Feels a bit more like Snake than Tron, but a very cool concept. Also quite impressed by the very readable 1000 lines of code. I&#x27;ve been writing a lot of Rust (various toy projects) for the past few years, but would love to do it for work at some point.
    • IFC_LLC4 days ago
      Gee, I&#x27;m sorry, but this is just over my head.<p>It takes over 282 crates to build this 1000 lines of code. It takes 1.3 gigs of space to display a window with a game on one&#x27;s screen. And the AI does not work at all since it just crashes in itself. I&#x27;m not sure how this can be a good example of a program written in Rust. Rust is all about low-level optimized over-speedy small-sized binaries. Right now I see just a blob of something that barely works.<p>And yes, Light Cycle is in fact just a version of a Snake with a different ruleset.
    • peoplefromibiza4 days ago
      [dead]
  • DavidCanHelp4 days ago
    Fixes Applied:<p><pre><code> 1. AI Self-Crashing Bug - Increased collision buffer zones and improved trail detection 2. Linux Dependencies - Added comprehensive installation instructions for Debian&#x2F;Ubuntu, Fedora, and Arch Improvements Made: - AI now skips 30 recent trail points (up from 10) to avoid self-collision - Increased look-ahead distances for all difficulty levels - Fixed trail collision detection in pathfinding - Added full Linux dependency documentation The AI should now survive much longer and provide a better challenge. And thank you for the two PR&#x27;s!</code></pre>
  • nunobrito4 days ago
    It was fun, on linux still had to install &quot;sudo apt install libasound2-dev libudev-dev pkg-config build-essential&quot;<p>Did some more fixes and then it was running. The game looks really fun but the AI player is always losing by himself too quickly.
  • avinassh4 days ago
    This is cool! The code base is small to follow easily and also TIL ggez.<p>In the single player mode, the computer is not so intelligent. So initially i just kept winning without understanding what was happening.
  • sigma023 days ago
    Kudos, but..<p>I did something similar in 6502 assembly a long while back and it fit into less than a kilobyte of code..
  • ilaksh4 days ago
    See also:<p><a href="http:&#x2F;&#x2F;www.gltron.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.gltron.org&#x2F;</a><p><a href="https:&#x2F;&#x2F;armagetronad.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;armagetronad.org&#x2F;</a>
  • bongripper4 days ago
    [dead]
  • rustoleum4 days ago
    [flagged]
    • bestouff4 days ago
      They probably hate spending time debugging stupidly preventable errors.
    • nifty_beaks4 days ago
      They…didn’t want to?
      • timeon4 days ago
        Comment was not even sarcasm or joke. Just pure trolling. No need to respond to something like that in 2025.
    • nurettin4 days ago
      Looking at how clean the code is, that would probably be a 1-1 translation given you have the C version of ggez.