• Stars
    star
    5
  • Rank 2,861,937 (Top 57 %)
  • Language
    Nim
  • License
    Other
  • Created almost 10 years ago
  • Updated almost 10 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Nimbus is a nim eval IRC bot, primarily for #nim. The eval code here is based off the original eval code in my toy bot BillsPC. Nimbus works by building a local copy of the Portable C Compiler (since a faster compilation time is more important in this case than a better designed ELF) and a local copy of the nim compiler. Nimbus runs in the MOE Competition Sandbox (thank you @charliesome) because it has certain features such as preventing syscalls and has a timeout function

More Repositories

1

TeaBot

TeaBot is an irc bot running on a raspberry pi. The point of this bot is to make tea, and thats about it. Why you ask? Because ResidentBiscuit has a very unhappy life and this makes it all better.
1
star
2

TeaScript

TeaScript is a scripting language specifically for writing TeaBot.
1
star
3

dtshell

A shell raylu pressured me into making.
C
1
star
4

BunnyFarm

Write a program that creates a linked list of bunny objects. Each bunny object must have Sex: Male, Female (random at creation 50/50) color: white, brown, black, spotted age : 0-10 (years old) Name : randomly chosen at creation from a list of bunny names. radioactive_mutant_vampire_bunny: true/false (decided at time of bunny creation 2% chance of true) At program initialization 5 bunnies must be created and given random colors. Each turn afterwards the bunnies age 1 year. So long as there is at least one male age 2 or older, for each female bunny in the list age 2 or older; a new bunny is created each turn. (i.e. if there was 1 adult male and 3 adult female bunnies, three new bunnies would be born each turn) New bunnies born should be the same color as their mother. If a bunny becomes older than 10 years old, it dies. If a radioactive mutant vampire bunny is born then each turn it will change exactly one non radioactive bunny into a radioactive vampire bunny. (if there are two radioactive mutant vampire bunnies two bunnies will be changed each turn and so on...) Radioactive vampire bunnies are excluded from regular breeding and do not count as adult bunnies. Radioactive vampire bunnies do not die until they reach age 50. The program should print a list of all the bunnies in the colony each turn along w/ all the bunnies details, sorted by age. The program should also output each turns events such as "Bunny Thumper was born! Bunny Fufu was born! Radioactive Mutant Vampire Bunny Darth Maul was born! Bunny Julius Caesar died! The program should write all screen output to a file. When all the bunnies have died the program terminates. If the bunny population exceeds 1000 a food shortage must occur killing exactly half of the bunnies (randomly chosen) ★ Modify the program to run in real time, with each turn lasting 2 seconds, and a one second pause between each announement. ★★ Allow the user to hit the 'k' key to initiate a mass rabit cull! which causes half of all the rabits to be killed (randomly chosen). ★★★★ Modify the program to place the rabits in an 80x80 grid. Have the rabits move one space each turn randomly. Mark juvenile males with m, adult males w/ M, juvenile females w/ f, adult femails w/ F radioactive mutant vampire bunnies with X Modify the program so that radioactive mutant vampire bunnies only convert bunnies that end a turn on an adjacent square. Modify the program so that new babies are born in an empty random adjacent square next to the mother bunny. (if no empty square exits then the baby bunny isn't born) ★★★★★ Modify the program so that it saves each turn to a file and can play back at accelearted speed all subsequent turns.
1
star