Tag Archives: Flash

Sunday, 17 May, 2009

GameDesign Hanafuda

I find the GameDesign's Hanafuda game from JayIsGames.

Hanafuda is a card game. There are twelve suits, representing months. Each is designated a flower, and each suit has four cards.

In this flash card game, each player is dealt 8 cards, and 8 cards are placed face up between the players. The player can match one of his card with one of the faced up card of the same suit or discard his card as a faced up card if there is no matching card. Either way, the top stock card from the deck is then turned face up, and if there is a matching suit, the player takes the 2 matching cards as well, otherwise the top stock card is added to the faced up cards. Each player will take turn to collect matching cards in order to gather points (minimum of 1 point) to win the round.

Refer to this Koi-Koi page for the list of captured hands that will give the player points. For example, 10 Dregs cards are worth 1 point and any additional dregs are +1 point each. (The flash game does not give point for Moon Viewing and Flower Viewing)

When the player forms a captured hand they have to make a choice whether or not to continue in an attempt to get a higher score. They announce 'Koi!' (Japanese for 'come on!') to continue or 'Game' to win the round. 'Koi!' is a way for a player to bet that he can form a new captured hand (or improve the existing hand) before his opponent can form his first hand. If, however, his opponent successfully forms a hand first, his opponent can win the round instead! (the opponent's score for the round is not doubled in the flash game) Also, in the flash game, instead of a draw when the players run out of cards, the game awards 6 points to the player who has more matching cards.

To play the flash game, click on one of your cards to automatically capture the matching card from the board, or to discard it if there are no matching cards. The 'Game' button is on the right and the 'Koi!' is on the left of the Koi Koi dialog.

You begin the game with 10 points. If you win the game by reaching 50 points, you can play the next game in its alternate "face-up" mode whereby you can see both yours and your opponents cards and also the top stock card.

Hanafuda is an easy and fun card game. Click on GameDesign Hanafuda to play.

Tags: Game, Flash, card, strategy, Japanese


Posted in Game , Diversion


Monday, 24 March, 2008

Internet Explorer Flash 8 ExternalInterface Bug

In IE6, ExternalInterface.call method will result in a Javascript error when the flash object is within a html form! (an undefined error)

Steve Kamerman had produced a fix for the bug. (Check his blog)

IE's implementation of Javascript seems to want to look for "window.yourObject" and not "document.form[x].yourObject", so his script figures out which form you are in and makes an alias.

window["yourmoviename"] = document.getElementById("yourmoviename");

An example of the fix is (assume we are using swfobject also):

<script type="text/javascript" src="swfobject.js"></script>

<script type="text/javascript" src="swfformfix.js"></script>

<div id="swfdiv">

This is replaced by the Flash movie.

</div>

<script type="text/javascript">

var so = new SWFObject("myMovie.swf", "myMovieObjectName",

"200", "100", "6.0.0", "#ffffff");

so.addParam("quality", "high");

so.write("swfdiv");

SWFFormFix("myMovieObjectName");

</script>

Tags: Javascript, Flash


Posted in Open-Source , Technology


Thursday, 13 September, 2007

A Puzzle Game - Bloxorz

Play Bloxorz.

Bloxorz

The game 's objective is to put the block into the square hole by moving/flipping the block using the arrow keys. Stepping on a round switch (round button) will either connect or disconnect a bridge. There is also cross switch that is activated only when the block is standing vertically on its end. Orange tiles are broken if the block is standing vertically on it and will cause the block to fall. Stepping on a a ring switch will split the block into two and teleport the blocks somewhere. The blocks are merged back when they are placed next to each other. (use spacebar to select block) There are a total of 33 stages and the passcode can be used to load a stage.

The above stage challenges one to step on the ring switch without also stepping on the round switch (disconnects the bridge), which then allows the blocks to be merged near the hole for a drop.

Tags: Game, Flash, puzzle


Posted in Game , Diversion


Thursday, 26 April, 2007

Adobe Flex Goes Open Source

Read at Zdnet blog by Ryan Stewart.

Tags: Flex, Flash, Rich-Internet-Applications


Posted in Open-Source , Technology