Blog, page 57
page 57 of 80Continuing through the writing archive.
Ice Cube Raft Race
Rules for Ice Cube Raft Race, a drinking game where each player fills an ice cube tray with beer and sucks every slot dry through a straw.
Read postCakephp - Using the same view for multiple controller functions
How to reuse one CakePHP view across multiple controller actions by disabling autoRender and calling render() with the template path.
Read postHigh
Rules for High, the simplest two-dice game: each player rolls and the highest total wins the pot.
Read postGolf
Rules for Golf, a three-dice game also called Dragon Slayer where every non-double roll counts as a stroke over 18 rounds.
Read postConvert HEX string to BYTE array, bug.
A C++ ConvertHexToBytes function posted as a find-the-bug puzzle using strtok_s and sscanf_s.
Read postFourteens
Rules for Fourteens, a ten-dice tavern banking game from the 1930s Midwest paying 8-to-1 on fourteen hits of the point.
Read postFifty
Rules for Fifty, a quick two-dice game where doubles score five, double sixes score 25, and double threes wipe you out.
Read postwinnt.h(5545) : error C2146: syntax error : missing ; before identifier ContextRecord
Fix for the winnt.h C2146 ContextRecord compile error: add #include windows.h.
Read postDisarm The Bomb
Rules for Disarm The Bomb, a drinking game with four beer cans taped into a cube and to your hands, ten minutes to finish.
Read postDirty Hearts
Rules for Dirty Hearts, a card-flipping drinking game where every heart turns into nosy questions and dares.
Read post