CicadaGames

所属分类:游戏
开发工具:Solidity
文件大小:0KB
下载次数:0
上传日期:2020-01-20 19:51:13
上 传 者sh-1993
说明:  对等RPG,玩家收集英雄并升级!,
(Peer2Peer RPG where the player collect heroes and level them up!,)

文件列表:
.DS_Store (8196, 2020-01-20)
Contracts/ (0, 2020-01-20)
Contracts/Core/ (0, 2020-01-20)
Contracts/Core/Attack.sol (3443, 2020-01-20)
Contracts/Core/Buildings.sol (4481, 2020-01-20)
Contracts/Core/CicadaToken.sol (4019, 2020-01-20)
Contracts/Core/Factory.sol (7532, 2020-01-20)
Contracts/Core/Feeding.sol (1362, 2020-01-20)
Contracts/Core/Utility.sol (1496, 2020-01-20)
Contracts/Core/Versioning.sol (1447, 2020-01-20)
Contracts/Data/ (0, 2020-01-20)
Contracts/Data/Creatures.sol (11074, 2020-01-20)
Contracts/Data/Gear.sol (15997, 2020-01-20)
Contracts/Tools/ (0, 2020-01-20)
Contracts/Tools/ERCInterfaces.sol (903, 2020-01-20)
Contracts/Tools/Migrations.sol (517, 2020-01-20)
Contracts/Tools/Oraclize.sol (51944, 2020-01-20)
Contracts/Tools/Ownable.sol (1951, 2020-01-20)
Contracts/Tools/Ownership.sol (1187, 2020-01-20)
Contracts/Tools/SafeMath.sol (2703, 2020-01-20)
Contracts/Tools/SimpleOraclize.sol (1370, 2020-01-20)
Contracts/Tools/SolidityHelper.sol (2080, 2020-01-20)
FrontEnd/ (0, 2020-01-20)
FrontEnd/bower_components/ (0, 2020-01-20)
FrontEnd/bower_components/bignumber.js/ (0, 2020-01-20)
FrontEnd/bower_components/bignumber.js/.bower.json (376, 2020-01-20)
FrontEnd/bower_components/bignumber.js/.npmignore (24, 2020-01-20)
FrontEnd/bower_components/bignumber.js/.travis.yml (76, 2020-01-20)
FrontEnd/bower_components/bignumber.js/CHANGELOG.md (7572, 2020-01-20)
FrontEnd/bower_components/bignumber.js/LICENCE (1081, 2020-01-20)
FrontEnd/bower_components/bignumber.js/bignumber.d.ts (65247, 2020-01-20)
FrontEnd/bower_components/bignumber.js/bignumber.js (86597, 2020-01-20)
FrontEnd/bower_components/bignumber.js/bignumber.min.js (18754, 2020-01-20)
FrontEnd/bower_components/bignumber.js/bignumber.min.js.map (35683, 2020-01-20)
FrontEnd/bower_components/bignumber.js/bignumber.mjs (81437, 2020-01-20)
FrontEnd/bower_components/bignumber.js/doc/ (0, 2020-01-20)
FrontEnd/bower_components/bignumber.js/doc/API.html (84439, 2020-01-20)
... ...

### CicadaGames ### Introduction CicadaGames is a decentralized gaming platform with the goal to revolutionize the blockchain space by enabling game developers to hook their own smart contracts to our mothercontract and thereby interact in the same token economy and get free webhosting for frontend and publishing. There are two currencies on the CicadaNetwork, one being a CicadaTokens, an ERC20 Token with a real-life value which is used for more demanding functionality aswell as gold which is an ingame currency that player can earn by defeating AI-monsters. The first game is aimed to be a collective cardgame where people collect creatures, attack other players/monsters in order to earn levels and gold. The background will be a static image of a medieval town with some interactivity. Each player has an UI with a list of all their creatures. By pressing on a creature they will get a new window with a bigger picture of the creature, displaying stats such as health, damage, accuracy, evasion, level, tier and item slots for head, chest, legs, feet, mainhand and offhand. ### Attributes Health: The amount of damage a creature can take before they end up in the Graveyard. Damage: The amount of damage a creature can inflict on others. Accuracy: The chance of hitting another creature. Evasion: The chance of evading an attacking creature's attack. Level displays how experienced a creature is and increases all basestats depending on the creatures tier and attribute modifier. One creature may for instance be a real heavyhitter, but have a very hard time hitting their enemy, ex. Damage 10, Accuracy 2. This means that the creature's Damage will increase by 10 per level but accuracy only by 2 (this is an extreme example, in reality this values would be much closer). Health/Damage/Accuracy/Evasion = Attributebase * Tier * Level However, a creature also have a chance to spawn with gear that improve their stats for helm, chest, legs, boots, mainhand and offhand. All this is randomized by the bit values of a uint in relation to timestamp of blockproduction, or other data that may be of value. Seed Id: 1111 1111 1111 1111 Tier Seed: 0000 0000 0000 0011 (1-99) In-tier Seed: 0000 0000 0000 1100 (1-99) Helm-tier: 0000 0000 0001 0000 (1-9) Chest-tier: 0000 0000 0010 0000 (1-9) Legs-tier: 0000 0000 0100 0000 (1-9) Boots-tier: 0000 0000 1000 0000 (1-9) MainHand: 0000 0011 0000 0000 (1-99) OffHand: 0000 1100 0000 0000 (1-99) Level: 0011 0000 0000 0000 (1-99) Just as the creature themselves each gearpiece is generated at separate tiers: common, uncommon, rare, epic and mythic. Granting more bonuses for each tier and outlining the frame with white, green, blue, purple or orange border. ### City In the city the player have multiple buildings that each start at level 1 granting basic functionality. Upgrading the buildings cost Cicada Tokens. Blacksmith -> Enables reroll of item tiers up to the itemlevel of the level of the blacksmith costs gold Bar -> Recruit a new creature by the bar and earn a positive modifier to roll more rare creatures the higher the rank of the bar. Arcanist -> Rerolls a creature with a positive modifier for every tier of the arcanist. Mad Scientist -> Create a clone of a PvP creature you have slain. Each Scientist level enables a higher tier to be cloned. Costs a mixture of Cicada Tokens and Gold Arena -> Attack PvE creatures. The higher level of the area, the more challenging creatures the owners can afford to bring in. Winning improves level and earns the player gold. Hospital -> Heal a creature, the amount of healing increases by tier level of the hospital. Graveyard -> Resurrect creatures up to a specific tier for CicadaTokens. Market -> Auction a champion for gold or CicadaTokens to other players. Auction taxes 2% of the total price. Upgradable buildings costs approximatly 0.001 eth per tier (0.002+0.003+0.004+0.005 = 0.014 eth = 0.2$ per building maxupgraded in time of writing). ### Combat PvP: A player attack a creature that must have the same level or higher as the creature attacking. A weighed random roll is created by comparing the attackers Accuracy to the Defenders Evasion. If the defender fail they take damage, if not the attacker takes damage. If any of the creatures health go below 0, they are sent to the graveyard. If the gear bits in any slot is higher for the dying creature than the winner. The loser will be stripped of their gear and the bits added to the winner. If they win, they earn a level and potentionally better gear. Attacking a player cost a tiny amount of cicada. PvE: A player pay a tiny amount of Cicada to enter the arena against a monster which has premade stats. If they win, they earn gold and a level. If they die they are sent to the graveyard, with their gear. In both PvE and PvP combat both creatures remain alive but with little health if the amount of damage isnt enough to kill of either of them. ### Creature Types & Element Each creature also has a type and an element which grants them advantage/disadvantage in combat. # Type Mage > Warrior > Scoundrel > Mage +10% # Element //Elemental Circle Earth < Fire < Construct < Water < Lightning //Planar circle Arcane > Cosmic > Divine > Abyssal Fire Mage vs Earth Warrior = +20% Cosmic Scoundrel vs Divine Warrior = -20% +Neutral = No drawback or advantage. ## [/] = Halfway-through, [X] = Completed, [-] = Cancelled, [ANT] = Assigned to Anthony, [ ] = not started. [ ] Resolve circular dependency Attack needs Utility, Factory? Building needs Solidityhelper, Ownable and Factory CicadaToken needs SafeMath, ERCInterfaces Factory needs Ownable, SolidityHelper, Creatures, Versioning, Gear Feeding needs Factory Utility needs Feeding Versioning needs Ownable, SafeMath ## Critical priorities [/] Enable randomness by Oracle (critical but not urgent) [ANT] Create Character Selection UI. [/] Create Character Detail UI. [ ] Create Auction Smart Contract. [ ] Create PvE Battle Matching. [X] Emit events where necessary. [X] Create Builds Smart Contract. [X] Create Gear Library. [X] Create Creature Library. [X] Create CicadaToken Smart Contract. [X] Create Migrations Smart Contract. [X] Create Attacking Functionality. [X] Create Healing Functionality. [ ] Create Recruiting Functionality. [ ] Create Blacksmith Functionality. [ ] Create Arcanist Functionality. [ ] Create Mad Scientist Functionality. [ ] Create Resurrection Functionality. [X] Add gear smart contract functionality. [ ] Convert to ERC1155. [X] Find mainhand, offhand, helm, chest, legs, boots sprites (10 each); [X] Sort and color the items. [ ] Remove attackers and defenders upon death. [ ] Refactor. [ ] SCVS most be within 10% of challenge. ## Moderate priorites [ ] Create PVP Battle Matching. [X] Make/find a picture which contains all elements of the city. [-] Finish the sprite animation renderer. [X] Filter the 936 creature images to choose which ones to use. https://docs.google.com/spreadsheets/d/1V-rn40dYmb5Da2hNzrCGENrYxbt1ms5XDr5ClYLXnKg/edit?folder=0ABL_kzJhkBDRUk9PVA#gid=0 [X] Sort the creatures into tiers and determine their base attribute mods. [ ] Add possibility to recycle characters for cicadatokens. ## Wishlist (no current priority) [X] Set defenders for incoming attacks. [X] Attack with multiple attackers. ## Inspiration CryptoZombies MagicTheGathering Diablo2 remember submit hash of nr locally. #bytes32 hash = sha3(N,msg.sender)

近期下载者

相关文件


收藏者