Skip to content

Commit

Permalink
Who remembers the game still?
Browse files Browse the repository at this point in the history
  • Loading branch information
3ICE committed Apr 5, 2017
1 parent 82a1816 commit 5afe52a
Show file tree
Hide file tree
Showing 12 changed files with 529 additions and 363 deletions.
Binary file added Clone-Clickers-v1-screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Demonstration-animation.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions Game.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Clone Clicker
Daniel will write this JavaScript game.

The aim is to click a button to deal some amount of damage to an enemy on the screen.

Each enemy defeated (hit points reduced to zero) yields gold, based on the enemy level.

The faster you click, the more enemies you defeat, the faster you can increase your power.

Gold can be spent on upgrades, bigger and better weapons, or hiring helpers to fight for you.

Here is a bare bones version you can already test:
<http://static.3ice.hu/button-click-counter.htm>

And cheats!
<http://forum.3ice.hu/viewtopic.php?t=634>

Footer: Daniel Berezvai, Aparajita Chowdhury, Arjun Venkatakrishnan, and Krishna Bagale
152 changes: 0 additions & 152 deletions README.md

This file was deleted.

36 changes: 36 additions & 0 deletions archive/Aparajita_test.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<!-- swrodman Authored by Aparajita Chowdhury -->
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<!--<img id="target" src=""img11.png"," width="107" height="98" />-->
<a onclick="mute(); changeImage(this)" id="mute">
<img src="http://krishnabagale.com/wp-content/uploads/2017/03/img11.png" id="play" />
<img src="http://krishnabagale.com/wp-content/uploads/2017/03/img22.png" id="pause" />
</a>

<style>
#mute #pause {
display: none;
}
#mute.playing #pause {
display: block;
}
#mute.playing #play {
display: none;
}
</style>
<script>
function mute() {}

function changeImage(obj) {
obj.classList.toggle('playing');
setTimeout(function(){
obj.classList = []
}, 1000)
}

</script>
</body>
</html>
36 changes: 36 additions & 0 deletions archive/Attack.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<!-- Click Attack button and change image then reset to original-working Authored by Krishna Bagale -->
<!DOCTYPE html>
<html>
<title>JavaScript Game</title>
<head>
<script>

function clickMeHandler(){
document.getElementById("imageObject").src="http://krishnabagale.com/wp-content/uploads/2017/03/img22.png";
setTimeout(function(){
document.getElementById("imageObject").src="http://krishnabagale.com/wp-content/uploads/2017/03/img11.png";
}, 1000);
}


</script>
</head>
<body>
<input type="button" id="clickme" value="Attack" onClick="clickMeHandler();">
<a onclick="changeImage(this)" id="mute">
<img src="http://krishnabagale.com/wp-content/uploads/2017/03/img11.png" id="imageObject" />
</a>
<style>
#mute #pause {
display: none;
}
#mute.playing #pause {
display: block;
}
#mute.playing #play {
display: none;
}
</style>

</body>
</html>
Loading

0 comments on commit 5afe52a

Please sign in to comment.