Questions tagged [games]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
26 views

Rock, paper, scissors and Secrether.io

I have thought of a RPS game using secrether.io: playerA hashes keccak256(move+11charsRandomData) as hash and sends it to RPS smart contract. RPS creates a transaction to Secrether Smart Contract - ...
1
vote
0answers
22 views

Possibilities of ERC721 image generation [closed]

What image generation techniques could you suggest for a DApp game that utilizes ERC721? I know that CrypoKitties has a unique DNA sequence and different pieces of the sequence correspond to the ...
0
votes
0answers
19 views

What’s the transaction ordering inside a block? [duplicate]

The game I found a game where each gambler needs to pay 0.02 ᴇᴛʜ to register a secret before the game before the games switch to status==reveal each day. Then, during the status==reveal period no ...
2
votes
2answers
171 views

Is there a way to deal with desistance in a off-chain game?

Suppose I want to use blockchain to play chess for money. So, I can register, on the blockchain, a smart contract (a chess game) associated to some amount of ether. If someone wants to join, he or she ...
0
votes
2answers
477 views

How do I send NFT assets (ERC721 Tokens) from my Ethereum wallet to someone else?

I want to send my ERC-721 to my friend. Fast. Any suggestions?
0
votes
1answer
242 views

Solidity Vs JavaScript?

I'm currently in the process of writing a game however a question has popped up in my head. A while back I started writing my game in Solidity (i.e the characters, names, stats etc.) and I had ...
0
votes
1answer
134 views

Design pattern for game development

I am developing a game which currently uses a GameFactory contract to create instances of a Game contract. The Factory pattern would allow any number of players to play their own single player game ...
1
vote
2answers
397 views

Rock scissors paper game in Solidity

For a homework problem, I need to write a contract for a rock-paper-scissors game for two players who would deposit the same amount of money then the winner will get both deposits. I am new to ...
1
vote
2answers
160 views

How to use fiat exchange rate oracle in DAPP?

my team is trying to develop a DAPP about fiat exchange rate. How to get the latest fiat exchange rate (USD/EURO etc.) accurately from external Oracles(Or are there better ways doing this)?
1
vote
0answers
38 views

What are the formal specifications for the temporal reward in Casper?

Casper has a temporal reward where those who place bets early (on the block that ends up as the winner) get more reward. What are the formal specifications of that, how is the temporal reward ...
1
vote
1answer
526 views

Tic-tac-toe and smart contracts

I am developing Tic-tac-toe game where players can play for ETH. I created a smart contract where a player sends ETH and balances is updates, the player receives some life. Then I thought when the ...
0
votes
1answer
73 views

working with balance management in a game

I'm working in a online game project, Where users will deposit ETH into their account for playing game. My problem is, Once a user deposit some ETH into his wallet. Example 0.10 ETH So how we can ...
0
votes
1answer
561 views

Loading smart contract x with tokens; sending eth to smart contract x; receiving tokens for that eth

Hello dear Eth community, I am a complete noob, please go easy on me ;) I am an IT teacher and I want to create a reward system for my class for a game that we play weekly. The game is not ...
1
vote
0answers
130 views

Can the blockchain run a billion dollar lottery?

As many games and other applications, a lottery needs a reliable random number generator. Especially when the prize is high. There are some sophisticated algorithms to achieve this goal, such as ...
1
vote
2answers
373 views

Is it possible to write an online browser game in ASP.net and integrate a smart contract to buy assets in that game for example?

I am fairly new to solidity, and i am exploring decentralized game development. This said, let us go more into the details. Imagine i want to develop a 2d game, where you can buy for example assets, ...
9
votes
2answers
4k views

How does cryptokitties work with smart contracts and is there a random element to it?

I'm totally new to cryptokitties, but my understanding of cryptokitties so far is: It's a smart contract that generates new kitties according to your ethereum address. My questions are: If you are ...