Friday, 18 March 2011

Boardgame - The Beginning

Simon – The board game



Simon's a computer, Simon has a brain, you either do what Simon says or else go down the drain

The Simon board game is an electronic device that uses four coloured buttons to produce different tones when it is activated. The game is set into various rounds or stages. Each round is harder than the last as the device lights up one or more buttons in a random order, after which the player/user must repeat the order by pressing each of the buttons. As the game goes on, the number of sequences increases making it harder for the player to guess.



The Simon board game is based on the children’s game – Simon Says, however the game play of this electronic board game is based on Atari’s Touch Me Arcade from 1974. The Simon game was developed by Ralph H. Baer, Howard J. Morrison and Lenny Cope. In 1978, the company – Milton Bradley built and distributed the Simon game.



News and the Media


Giant conglomerates and corporations own the Media and decide on how it’s run day by day. All over the world, countless news channels, websites and applications have been established to deliver constant, up to date news every second to everyone. However, the problems facing this heavy bombardment of information constantly streaming into our televisions and websites are becoming more chosen to what the big bosses at the corporations want us to hear and see. Some information can be referred to many times within a space of a week or even a few months. This information becomes altered and manufactured towards the bias opinions of the news corporation that is sending the information.

Thursday, 17 March 2011

Final Product - Link

A copy of the Processing Applet for the Simon Says the New's can be found...
Here

Research into the News and Media

Research



Artists around the world have created various pieces of work portraying the different ways the media is trying to control our lives.
The yesmen are an activist group which uses tactical media. This tactical media is used to raise awareness about social issues and want to expose the lies of big corporations through the use of multimedia, such as using fake websites to spoof the corporations they dislike. They strongly express their belief that corporations and government organisations act badly towards the general public, dehumanizing us.
Impersonating big-time criminals in order to publicly humiliate them. Our targets are leaders and big corporations who put profits ahead of everything else.



Another example activism against consumerism and giant corporations is from the examples of Naomi Klein. In her book ‘No Logo’ a part of her book was a chapter based on “No Choice”. Naomi Klein discusses how company brands use their size and power to limit the number of choices (in terms of competition) to give the general public choice on different products to buy. Many examples of this tie closely with Wal-Marts giant scope in the USA with their overall marketing dominance over the country. Giants such as Disney and Sony decide to open their own chain of stores in order to push away competition and furthermore restrict the boundaries on what we can buy and choose. This ties closely to the news corporations and the choice they give us to look for; they only give us the news they want us to see, not what we really want to know.



We believe that the media today has a giant effect on people’s lives. In some forms the media can be very useful in bringing us the latest weather updates, and commercial products, however the news in various forms has became over biased and is now capable of changing people’s opinions and views but this is only because we have heard ‘one side of the story’. This is why we are using the Simon board game to portray a new scope on what people should really find in the news, not what the corporations want us to see with bias opinion.



An example on why we believe the news is due to the recent presidential elections which took place in 2009. In this time, networks such as FOX provided very bias political views against Obama’s Democratic Party. Obama was shown on all other major networks apart from FOX. FOX deliberately seemed to mention more about McCain and Palin than any other party leader. Making them look like a political right-wing (Republican). Obama’s administration has been in many conflicts with FOX network since, with FOX spokes people calling them ‘crybabies’ and making bias comments on Obama’s health plans for the USA.



Source: http://en.wikipedia.org/wiki/Fox_News_Channel_controversies#Obama_administration_conflict_with_Fox_News


Another example of the news creating faults and confusion to the general public has recently lined with Japan’s natural disaster and nuclear power plant troubles. Several news corporations have come forward with stories which are meant to be the same but have altered pieces of ‘data’ such as the amount of people missing or have died from the earthquake, tsunami etc. We don’t understand the point in changing information to bring our attention, when we already know the situation is terrible out there. The most accurate news that comes forward is from the ones who call into the news shows and are aired live to give us the most un-biased information.
We couldn’t find much artists work against news corporations because it is difficult to approach without offending giant news groups.

Project Solution

Our Solution


News organisations tend to bombard us a lot with information on current events each day.



This information is normally altered towards their opinion and ends up leading to confusion when people hear different stories to others.
Simon Says works a similar way by providing different combinations of news to confuse the user/player.



The media normally chooses what news we watch each day... But our game of Simon does this:
- You press the button in the middle to randomly generate the news
- Simon generates and displays the news information accordingly
- You can choose what news you want to see by selecting the four buttons
- The four buttons will be based on news subjects e.g.: Sports, Economy, Foreign Affairs etc.

Simon Game Update 16th March 2011


- Instead of bringing random news feeds to the game, the game will use random sound clips to make it more like a game.
- The user can click one of the buttons or press a key to generate a random sound from a news clip. This means that they can generate their own news to make it sound funny or serious depending on what sounds they encounter when they use the game.

Development - Planning

Development



Step 1: Research into various news footage such as reports on various video websites like Youtube and Vimeo. The audio materials used have to be representative of the spectrum covered by the news, therefore audio samples will be recorded from the following types of news:

* Worldwide news
* National news
* Local news
* Sports news
* Celebrity news


Step 2: With software such as Freemake Video Downloader, we can extract the audio from the chosen footage from the video viewing websites.

Step 3: By using various audio software such as Adobe Soundbooth, we can break down the various sound clips to create several word sentences from the audio.

Step 4: Setup the various audio folders to increase efficiency in finding the correct audio to select for our processing sketch. (Audio > Data (in Processing))

Step 5: Create the Processing Sketch

Wednesday, 16 March 2011

Development - Implementation

Code Snippets


By using Processing we have been able to create the Simon News board-game step by step.

Array


This first code snippet displays the import of the use of the library ddf.minim which can be used to read and understand sounds that can be added to a processing application. Below this displays our Array which initialises the amount of audio samples that we will be using along with the different types of audio samples such as a theme tune, a verb action and ending.





Initialising Images


This code snippet initialises the ID names of each image that will be used within the processing sketch. Each of these images provide a piece of the interface to the Simon News Application including the layout and the action buttons that will be used for the user to interactive with the game.



Setting up the Array - For Audio


The next step is to create the void setup() function which will handle the set arrays according to the various audio samples we have gathered. The snippet(s) provide the use of the array names from the initialising in the above code to randomly play the audio samples depending on which button is pressed by the user. The more audio samples the array name has, the more random generation is created allowing the board-game to be more useful for users to play for a longer period of time. The imported minim library provides the useful role in allowing us to load each audio sample with the code: minim.loadSample("",); This allows us to import the audio samples into the array giving us clear coding efficiency.




The size of the processing application is also added to the void setup().

Drawing The Processing Stage


The void draw() function is used to view the visual properties of the defined initialised objects within a processing sketch. It provides us with the option of choosing the background colour of our sketch which is black or background(0);. From here we can load the images to the sketch from our initialised names from the code snippets above. For example to show the simon board-game image, we include:

simon = loadImage("simon.png");

image(simon, 270, 150);


These two lines of code takes the initialised name from above and loads the image and provides the coordinates and size of the image to add to the sketch. Thus creating our background image.

The section below the background and image draw code shows an if statement which generates a keyPressed method. This means that when the user presses a certain key on the keyboard, the code will generate an output like an audio sound and will display a highlighted object to show the user that they have just selected that object. The a,b,c and d letters which were initialised in the array code section play the role in section of code by loading the image and providing a highlighted effect on the sketch.

if (key=='z'||key=='Z') {
a = loadImage("themebutton.png");
image(a, 270, 150);


This selection of code is similar to creating the background image but is only visible when the user presses a key.

(When user presses a button it will highlight (Blue is currently highlighted))


Not only the if statement generates a highlighted image, it also includes the functionality to play the selected sounds from random. The different buttons are chosen the different array names for the generated sounds. This code snippet tells itself to generate a random sound from the selected array.

int index = 0 ;
index = int(random(themetune.length));
themetune[index].trigger();
delay(100);


This code is very useful in providing the sound clip to be generated by random every time the user selects the same button. It will give them a different random audio sample each time they choose a button.




Improvement to Interaction - Adding mouse interactivity



To add better interactivity for the user we have added another if statement which provides us with a mousePressed functionality. It works in the same way as when keyPressed in generating a highlighted button the user selected along with the audio sample being played by random and taken from the array.

The snippet of code below shows when when the mouse cursor is clicking on the selected button, the highlighted colour will appear and the random audio sample is played. However, due to Processing having no actual button code or GUI, we have to rely on position coordinates when using mousePressed functionality through an if statement.

The beginning of each line for the buttons begins with this:

if (mouseX >512 && mouseX <> 300 && mouseY


mouseX and mouseY determine the positions of where the mouse cursor clicks can respond to the button images on the sketch. The number values display exactly where the button can be clicked from horizontal and vertical axis. So once the mouse cursor is clicked in these areas, the same functionality applies to the keyboard presses as mentioned.

Adding Instructions - Visual Interface

Development - Visuals



To provide the users with a friendlier experience when using this game, we need to provide some text on the processing sketch to provide instruction and purpose to our game.



We have created a font test (below) which shows how a basic Calibri font will be used in our final product. The code here works in a similar way as adding an image to the sketch, instead of using PImage we use PFont. This code goes onto output 'Simon...The News Game' which will be used in our final product as the title. We will also be providing instructions for our users but using maybe different/smaller fonts. It will use a similar code structure to this example here.
















IDAT209