Skip to content

Instantly share code, notes, and snippets.

@prasunkgupta
prasunkgupta / hide_and_seek.pde
Created November 28, 2020 08:43
Hide and Seek game
/**
* Third program in Processing (hello.processing.org)
* "Hide and Seek" Game (Estt. playing time: <2 mins)
* Aim is to move the police man behind the bushes so that he can find the thief
*
* How to play: Download Processing; open this code in it, run and enjoy!
* Use keyboard keys up/down/left and right to move the policeman
* Use mouse left click to restart
*
* Idea: Parth (4.5 years old)!
@prasunkgupta
prasunkgupta / game.pde
Last active November 27, 2020 07:38
Flying darts all around. Can you save your puck?
/**
* Second program in Processing (hello.processing.org)
* Quick "Save your puck" Game (Estt. playing time: <30 secs)
* Aim is to move your mouse around and avoid getting hit by flying darts
*
* How to play: Download Processing; open this code in it, run and enjoy!
*
* Author: Prasun @pkg_se
* Date: Nov 27, 2020
**/
@prasunkgupta
prasunkgupta / face.pde
Created November 26, 2020 09:52
Interactive face in Processing
/**
* First program in Processing (hello.processing.org)
* Author: Prasun @pkg_se
* Date: Nov 26, 2020
**/
void setup() {
size(480, 480);
background(0,128,255);
}