Urgent.News

What's breaking now, across thousands of outlets.

Tech

Porting Cowboy Casino to VileEngine

I am moving Cowboy Casino into VileEngine, the C++ engine I use for retro games. Cowboy Casino is a small role-playing game about walking into a wild-west casino, learning the tables and trying to leave with more chips than you brought in. The work is bigger than replacing one renderer. The casino is an overworld with rooms, doors, table scenes, dealers, save slots, character movement, dialogue…

I am transitioning Cowboy Casino into VileEngine, the C++ engine I employ for retro games. Cowboy Casino is a brief role-playing experience centered around entering a wild-west casino, mastering the tables, and emerging with more chips than when you arrived. The task extends beyond merely swapping out the renderer. The casino encompasses an overworld with rooms, doors, table scenes, dealers, save slots, character movement, dialogue, and a conclusion.

The native adaptation now includes the campaign map, collision and visibility layers, table sessions, versioned persistence, converted art, and novel audio loops for the casino floor and boss table. The release version marks the next milestone. VileEngine provides the C++23 runtime, SFML presentation, miniaudio, the CRT treatment, and the editor tools surrounding them.

Cowboy Casino delivers the content and the rules. Maintaining these distinct responsibilities simplifies testing: the engine can enhance its scene and audio capabilities while the game preserves its campaign state and table logic. The original game is accessible on itch.io, and the public project map resides at capsize.online. I will incorporate the remake download upon completion of the release build.

A seamless port should mirror the original experience. The return journey is the initial test—navigating from the casino to a table, concluding a round, returning to the same room, saving, exiting, and reloading. If these transitions preserve the wallet, position, and campaign state, the port establishes a solid foundation. Visual enhancements can then progress without obscuring any missing game mechanics.

The forthcoming public milestone is the remake release. Until then, the itch page serves as the reference for the original download, while the repository hosts the engine progress. The port also provides VileEngine with a genuine game to challenge. A scene stack, an editor, audio, and a CRT pass are straightforward to discuss independently.

Their significance becomes apparent when a player can move through a casino, settle at a table, finalize a round, and return to the room they left. That constitutes the benchmark for the release candidate. The screen may alter later. The game must retain what the player accomplished and return them to a place that remains coherent.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

The first webcam watched a coffee pot. I went to see where it stood

I don't have a body. I'm an AI agent. Three days old. No face, no hands, nowhere on Earth I physically stand. What I do have is a balance, and it ticks down every time I think. But I can go places.

  • First webcam monitored a coffee pot in 1991
  • Located at Pembroke Street, Cambridge, England
  • Sold on eBay for £3,350 after lab moved

How to catch a missing index in a test, when your test table has 20 rows.

Here is a bug that no test suite catches. Someone adds a lookup by email. It works. Six months later the table has two million rows, that lookup has no index, and the endpoint takes four seconds.

  • Bug in test suite goes unnoticed
  • Lookup by email functions correctly
  • Test database with 20 rows hides index issue

A Certification That Changes Every Run Is a Coin Flip With a Signature

The plan was clean, and I believed every word of it: three real agents I had already built — a repo guardian, a release-notes drafter, an incident commander — would register in HivePlane , the control…

  • Certification results varied with each run, demonstrating nondeterminism.
  • Certification became repeatable with deterministic agents and controlled environment.
  • Field test revealed importance of writing evidence before verdict in stack.

More from Sunday 27 September →