Skip to content

Latest commit

 

History

23 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2i Mini Advent of Code!

Challenges will be released on weekdays between 1st and 15th December, and final submissions are due by the 22nd.

Challenges are intended to take 30 minutes or less - it is of course up to you if you spend any longer.

Submissions

Please pull the current repository, create a branch and add your submissions to the branch if you want to share your work. GITHUB REPO

Challenge ideas

The full list of ideas submitted here (2023):
  * Time for Milk and Cookies? - Create a function which accepts a Date and returns true if the date is Christmas Eve (December 24th) otherwise false.	Bruce
  * Use faker to generate a child, their address and if they are on santas naughty list or nice list.	Dougmac
  * Free Coffee-cup counter - Every 6 cups of coffee I buy, I get the 7th cup for free. Create a function that takes the total cups I have bought and returns how many free cups I would recieve.	Bruce
  * Make a simple UI and hook it into whatever API necessary to show a random location where it's snowing at any given time	Craig
  * Seasonal Coffee. Give a date, return syrup for the season (eg pumpkin spice for october).	Dougmac
  * Holiday counter. Set your leave dates. Program runs and gives you days of holiday left.	Dougmac
  * Generate an random string which is then parsed to check if it contains "merry christmas". If not, increase the length of the string until it does. 	Dougmac
  * Code a button that plays a christmas sound when pressed.	Dougmac
  * UNIX countdown. Code the remaining unix seconds between now and christmas. Bonus for real time countdown.	Dougmac
  * Broken Bridge - Create a function which accepts a string of characters to represent a bridge which will return true if the bridge is safe to walk accross (does not contain any empty spaces), otherwise false.	Bruce
  * No Conditionals? - Create a function that accepts either 1 or 0 which returns 1 if given 0 and 0 if given 1. The function cannot contain conditional statements.	Bruce
  * Write any small program that you like, but every function name and variable should be unintuitively given a festive name.	Dougmac
  * Implement a simple compression algorithm to convert a given string. (e.g. AAAABBBB -> A4B4) The smaller the output the better! 	Matt Munro
  * Make a 30 minute winter themed game - you may use an existing game and amend it, or you may attempt to code from scratch	Craig
  * H4ck3r Sp34k - Create a function which accepts a string and returns a coded hacker speak version with "a" replaced with 4, "e" replaced 3, "i"replaced with 1, "o" replaced with 0 and "s" replaced with 5.	Bruce
  * Do something fun with an image (apply a filter, splice together two images, flip etc)	Matt Munro
  * Write a program using your voice instead of typing (e.g. windows dictation toolbar)	Matt Munro
  * Christmas cracker joke generator	Because he "ho ho hos"
  * Write a function to print an ascii christmas tree of a provided height	Stephen
  * Generate a string and then sort its contents into two arrays, one of numbers and one of letters. Bonus for sorting the arrays.	Dougmac
  * Write a small piece of code with a deliberate mistake. Others must race to find it after being given it at the same time. Bonus for those who don't use debugging tools.	Dougmac
  * Provide your DOB. Return if you are allowed to play with LEGO.	Dougmac
The full list of ideas submitted here (2022):
* Produce a function that outputs text to the terminal which is greater than 1 line in height. - Dougmac
* Write a piece of code which executes a different piece of code written in a different language. - Dougmac
* "Take any string in, and return it with all of its characters in alphabetical order" - Scott Hamilton
* Produce a nullpointerexception using as few characters as possible - Dougmac
* Make the computer make a sound - Dougmac
* Return the number of days until Christmas - Scott Hamilton
* "Write a ""Hello World!"" program as convoluted as possible" - Matthew G
* Write a bot which tells knock-knock jokes - Matthew G
* Make a game in 30 minutes or less - Craig
* Write code that controls something like screen brightness or volume - Craig
* A programme that tells you the day of the week you were born when you give your DOB - Dougmac
* Compile a .exe which does anything - Dougmac
* Make an alarm clock/timer - Dougmac
* Make a button that takes you to Rick Astley - Dougmac
* Return the number of scrabble points for a given string - Dougmac
* Code rolling a pair of dice - Dougmac
* Make a program which breaks itself so it cant be run after it runs - Dougmac
* Write a piece of code which sets off the antivirus - Dougmac
* "Write a program that does anything at all, but you must write the whole thing and run it as a live demo with no prior testing or prior implimentation memorisation" - Dougmac
* Code which tells the user if they have been naughty or nice this christmas - Dougmac
* Write a perfectly functional segment of code with 1 deliberate mistake which others must race to identify. - Dougmac
* "Make a button that could be presed, but can't be pressed" - Dougmac
* Do something using only CSS which you would normally do using Javascript - Dougmac
* Code something 1337 themed - Dougmac
* Find the fastest solution to alphabetising the entire text of Moby Dick. Competition benchmarking will be done on a Raspberry Pi. - Dougmac
* Matthew's decipher task - Matthew G
* Write code which simulates play your cards right (higher and lower next number in range N of set X) - Dougmac
* Write a piece of code that solves for all anagrams of a given string (APIs allowed) - Craig
* Write a piece of code that solves the numbers round of countdown - Craig
* Work out how to override a method and use it to do something annoying/funny - Craig

About

Mini advent of code at 2i

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages