• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Test Your Algorithmic Skills

 
Ranch Hand
Posts: 411
5
IntelliJ IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cell Hack

Welcome to CellHack. This started as a fun game around the office, and we have decided to take it public and let you all join in.

So what exactly is CellHack? Put simply, you are the master of a colony of cells. Your colony will be placed in an arena with three other colonies, and all will compete to create the largest population. This is achieved by writing a function that will be executed by each of your cells every turn. The cells are not very complex: they have simple memories, and can look around, move, split, and attack their neighbors. From these building blocks, you must design an algorithm that will lead your colony to victory by any means necessary. Think of it as a cross between the simulation game Life and BattleBots, all done in C.

We have provided some sample functions for you to test yourself against, and you can also test yourself against other functions you write. On May 12th, at 5pm Eastern, we will have a competition to see which functions reign supreme. The competition will be held live at Jailbreak Brewing in Laurel, MD and streamed via Twitch.tv. We hope to see you in person or online, and look forward to seeing how your solutions match up against each other (and maybe even a few of our own favourites).
 
Ranch Hand
Posts: 574
VI Editor Chrome Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like Core War, a game in which I wasted many hours on for no real accomplishment

https://en.wikipedia.org/wiki/Core_War
 
Ranch Hand
Posts: 789
Python C++ Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My first turn will be an endless loop creating new cells. I hope I get to go first. How do I get my prize?
 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Guillermo Ishi wrote:My first turn will be an endless loop creating new cells. I hope I get to go first. How do I get my prize?



Really ? That is the most predictable strategy = easiest to beat.
 
Guillermo Ishi
Ranch Hand
Posts: 789
Python C++ Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Lucian Whiteman wrote:

Guillermo Ishi wrote:My first turn will be an endless loop creating new cells. I hope I get to go first. How do I get my prize?



Really ? That is the most predictable strategy = easiest to beat.


Forget prediction, I'll tell you my strategy. Nobody else gets a turn
 
Drove my Chevy to the levee but the levee was dry. A wrung this tiny ad and it was still dry.
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic