Defence Android Game
-
Yeah I agree I think we need some kind of offline service to deal with the in game currency.
In my head in game purchases would work something like this…
Offline lots of addresses are created with public/private key (lots and lots maybe 100,000 or more who know) these would be in cold storage.
The public keys would be loaded into a database ready for use.
When a user wishes to make a purchase the next unused key is extracted from the DB and a record is produced in the DB with the public key and the amount needed to fulfil the request/purchase.
The service then monitors the address and waits for funds to be received and would update the row to be completed (after a number of confirms I would go with 1 for small values).
once completed the address would not need to be monitored any more and the user would be grated access / given the purchased item.
It may make sense for the DB record containing the public key , the amount of FTC to also include the actual thing the person has paid for.
I think this could be useful as a service which could be run by any business / company wishing to accept FTC.
Its safe as there are no private keys to steal if the server is compromised.
I think I could write the code to set one of these up as we have feathercoinj which will handle the monitoring and confirmation stuff that is needed.
Although this may be a project in its self.
On the In game winnings side…
I was thinking we could do a simple money making game where players buy in each week/month to see who can get this highest score.
the winner takes to pot so a little like gambling but with an element of skill.
to do this the player should be able to specify an FTC address which payouts could be made to and initial buy ins could be made as above.
Edit: Im not sure im ready to tackle this yet though but would be awsome to achieve.
-
For all those not on android here is the Desktop version
On windows simply double click and it should run with java (which needs to be installed) or right click and run as / open as Java Runtime. Its just java so linux should not be an issue either.
https://www.dropbox.com/s/jmrg48vhcpvqglq/HomeDefender.jar
Here is the link again to the android apk.
https://www.dropbox.com/s/4mbuc3m9pxq0t1i/HomeDefender-android.apk
I have added some more features today mostly around playability and speeds of attackers etc.
I have changed where the blocks can be placed and added a mesh screen to show its out of bounds.
enjoy
-
Hey man, this is actually really addictive!!
-
Lol yeah its starting to feel like an actual game isn’t it :)
-
Could we get 2 more block types. One cheaper and one more expensive?
-
good plan a weak cheap type and a strong more expensive type.
ill try and add it today see how far I get.
kris
-
That’s exactly what i was thinking ahy.
-
Hi All,
I have added the following features
- Added Stronger Block type which is more expensive (from round 3)
- Added Spearman type which walks along the bottom (from round 6)
- Added pause button with pause text
- Added round completed text between rounds
- Changed amount of coins you get in higher rounds
Same links as before
On windows simply double click and it should run with java (which needs to be installed) or right click and run as / open as Java Runtime. Its just java so linux should not be an issue either.
https://www.dropbox…omeDefender.jar
Here is the link again to the android apk.
-
Hi All,
I have added the following changes
- Added Angry Sheep graphics provided by Mica :)
- Added red cross which appears when you cannot place a block or cannot afford a block
- Added blood splatter (too much?) when one of the angry sheep is killed
- Added Swarm support so we can share top scores and maybe run competitions :) (Android only - Guest mode available)
- Made it so you cannot place a block on top of another block
Updated Links Below
Desktop Jar Download
https://www.dropbox.com/s/n7zgzrb47ugsq70/AngrySheep.jar
Android APK Download
https://www.dropbox.com/s/y2h8u7rkofe1c70/AngrySheep-android.apk
please test it to death and let me know of what you guys think
-
Wow. Love the new direction this is going ahy!
I had a bit of a play but don’t have much time tonight.
I’ll give it a thorough workout over the next few days and give you some detailed input.
-
yeah that would be great thanks :)
-
Sorry, I’ve been caught up as per usual…
I’ll get to this at some stage I promise.
-
Right just released a new version with the following features.
- Cant place Hay Bales / Blocks in the same space as other blocks (no overlapping)
- Auto Saves state if the game is exited
- Auto loads state if it was an auto save scenario
- Option to manually Save Game
- Option to manually load saved game
- Spearman has been removed and new Block (Hay Bale) has been added as the cheapest block
Links are the same as on the Main post.
Android Link
https://www.dropbox.com/s/u2zwznlw3wg5wa5/AngrySheep-android%20%282%29.apk
Java Desktop Link
https://www.dropbox.com/s/n7zgzrb47ugsq70/AngrySheep.jar
Happy Playing…
EDIT : I think (after some user testing) I am happy to put this on the android market.
Before I do this however I think a “Powered By Feathercoin” Logo would be a good little addition that could be shown between rounds along with the Round Complete Text. Do we have anything like this?
-
Yeah that would be perfect. Thanks for looking into that for me. I’ll see what I would need to do to fire the website up in android. I don’t think it would be too hard.