Showing posts with label Games. Show all posts
Showing posts with label Games. Show all posts

Sunday, July 31, 2016

The Code 7 Project - Problem 4 - Puzzle Game

The Code 7 Project - Problem 4 - Puzzle Game


Description of the "Code 7 Project": 
hchiam.blogspot.ca/2016/06/code-7-project-github-blog.html
Practicing general programming skills by building 7 simple programs over 7 different weekends (when my other commitments allow it).

Description of Problem 4:

blog.smartbear.com/programming/7-silly-programming-challenges-to-do-for-fun

Game Solution So Far for Problem 4:

scratch.mit.edu/projects/117437175

GitHub Repo Backup of Game Solution for Problem 4:
github.com/hchiam/code7


You can play the game right here, without having to go the any of those websites or downloading anything:  Click on the green flag to begin and start clicking the puzzle pieces to move them around.
I might update this game later.





_________________________

LINKS TO OTHER STUFF: 

Favourites
Programming
Original Art
Games

Chinese Learning Projects:
 - Book
 - HSK 1
 - HSK 5
 - Homonyms Mnemonics

Wednesday, April 8, 2015

My First Android Apps

Shiny vision for the future?
With websites like KhanAcademy, it is now easier than ever to learn how to program.  Still, it's nice to be able to make something that goes beyond the computer screen, and maybe instead...exists on a phone screen?

I learned how to make and test my own apps on an Android phone in just a few hours.  Here's my progress so far: 

Pictures of apps I made using MIT's App Inventor 2 for Android: 
"Talk_To_Me" [1]
"Gravitas" [2]
Pretty simple.  App descriptions at the end of this post. 

Dropbox link to download them to your phone: 
My Android Apps
You can test the apps out by downloading the .apk file of your choice to an Android phone. 

Instructions to run the apps: 
http://appinventor.mit.edu/explore/support/packaging-apps.html#download
Basically, when I tested the games on my Android phone, this is what I did: 
  1. I enabled developer apps on my Android phone (Settings > Applications > checkmark Unknown Sources (Allow installation of non-Market applications),
  2. I emailed myself the app (if you're seeing this on an Android phone you can go straight to step 4),
  3. I opened the email on the Android phone,
  4. I downloaded and installed the .apk file (one step when the pop-up showed on my phone), and finally, 
  5. I ran the app.

You can make your own Android apps for free using App Inventor 2:
Go to appinventor.mit.edu/explore
...and hit the big orange button on the top right that says "Create!

You can test and edit apps on the fly, with the app updating/running in real-time on an Android phone, or using an emulator on your computer screen. 

This is the lego block-like programming interface.  Reminds me of Scratch.

[1] The first one, "Talk_To_Me", is based off of a tutorial.  Two buttons.  One button plays a recording.  The other button lets you take a photo to use as the background.  Swipe the bouncing dot and you can change the direction/speed while drawing lines (a sound plays if you actually affected the dot).  If you shake the phone, then the lines disappear, and a counter on the top right counts up, which I guess could be used as a step counter, but it depends on your phone's senstivity settings. 

[2] The second one, "Gravitas", is a crude gravity-like simulation.  Just like for "Talk_To_Me" you can change the direction that the dots are moving by swiping (although it takes some skill to figure out the timing...or spamming). 
_________________________

LINKS TO OTHER STUFF: 

Favourites
Programming
Original Art
Games

Chinese Learning Projects:
 - Book
 - HSK 1
 - HSK 5
 - Homonyms Mnemonics

Wednesday, March 4, 2015

Unity Animation of Particles Interacting

Example animation I made with Unity game engine (sort of overkill really):

- Original art, Howard T. Chiam, Nov. 2014 -
A way-better, final version I made for a knowledge-translation course assignment on "green pollution-reducing paint" is at this link here:  https://dl.dropboxusercontent.com/u/46617516/KTVideoIntroIdeas.html

Unity is a game engine, basically a program that you can use to make 2D and 3D video games.  There's a free version that has tons of features so you can make your own games for free and export them to exe's for different platforms.
http://unity3d.com/

I made an example game in an earlier post:
http://hchiam.blogspot.ca/2015/01/my-petrify-game.html
Controls:  a=left, d=right, w=up, s=down. 

Sunday, January 4, 2015

Howard's Petrify Game

Here's how the game looks like when you start the game:
I made this in the Unity Free Version right before the new year; Dec 31st 2014.


Link to play:
https://dl.dropboxusercontent.com/u/46617516/Petrify/Petrify.html
(You may have to briefly install unity webplayer, but a link logo will appear in the browser screen if you need it.)

Instructions:
Keyboard keys to move:  A, W, S, D.  Minimalistic game.  Goal is to figure out the objective intuitively and play with the environment.  Refresh page to restart. 

LINKS TO OTHER STUFF:
Autoscheduled post:  March/11th/2015  6PM

Friday, November 22, 2013

GAME PROGRAMMED IN VB : Fully intense game Friday - Programming Week! 5/5

Go to this dropbox link: jeu.exe

There's a few levels in this game (plus some hidden levels!).







P.S.:  If you want to see all the other posts for programming week all on one web page, just click on the label below, as shown in this picture:

And if you've noticed, posts are being consistently posted at exactly 10:30 AM, before lunch time.
It's not because I'm a robot.  They are auto-scheduled posts.  Very convenient. :)

Tuesday, November 19, 2013

PONG x 3 : Mellow fun Monday - Programming Week! 1/5


Relax while testing your reaction time reflexes.

http://scratch.mit.edu/projects/14318317/

I didn't program this game from scratch (I modified a template), but I programmed it using Scratch.  [Haha.]  Anyways, "Scratch" is a free open-source programming language from MIT, a "visual" programming language one might call it (looking at it though, it's not exactly like LabVIEW, it's more like using blocks to replace some of the tedious-ies of text-based programming languages).  You can read more about Scratch and find more links on Wikipedia.
More bounces --> higher speed.

Goal: up to how high a speed can you keep the balls from hitting the ground?