Find Jobs
Hire Freelancers

Build a Website

$10-30 USD

已关闭
已发布大约 7 年前

$10-30 USD

货到付款
The web page shall contain a table with multiple cells nicely positioned on the page. For example, 100 cells, 5x20 or 4x25. Choose 20 phrases, such as your favorite proverbs or in any category, each as a string literal prestored in a JavaScript array. Randomly choose one from the 20 phrases and have the content filled characterby- character in the cells of the table (one character per cell). Set the initial visibility of the characters as hidden (Hint: you may define each cell as a button or as a span element to make it responsible to the onclick event). Unoccupied cells must be displayed in different color/background to look different from occupied cells. 2. Allow a player to reveal letters in the phrase. Player can reveal (flip) one letter by clicking an unrevealed occupied cell. Alternative, player can input a letter in a text field and reveal all the same letter in the phrase. For example, the player inputs letter “e”, all es in the phrases are revealed. Make no change if no such a letter in the phrase. Different ways to reveal letter corresponds different game play. You can choose one or implement both. 3. Limit the number of revealed cells, or the percentage of revealed cells to the total number of occupied cells. If the difficulty level is considered, the number or the percentage can be adjusted based on the difficulty. The difficulty level is optional. You can implement just one level or multiple levels. 4. When the number of revealed occupied cells reaches the limits, a message shall immediately be prompted, saying something like "You have no more letters to flip, please make your guess NOW!” (After the player confirms OK, a textarea is immediately showed up for input). 5. Allow a smart player to guess before flipping the limited number of cells, e.g., always providing the "Make your guess NOW” button to allow early guess. Once the player clicks the button, a textarea is showed up for input 6. In either case (4 or 5), a textarea is showed up for the player to type in his/her guess of the phrase (this textarea widget should NOT be prematurely displayed on the page). 7. Then, the web page checks and confirms whether the guess is correct or not. If the guess is incorrect, let the player choose to either continue (can try at most two more times) or give up, then reveals the puzzle (by flipping the remaining letters of the partially revealed phrase). If the guess is correct, then grades the player based on the number of unrevealed characters. For example, if a player has 5 characters left un-flipped and provided a correct guess, the player receives 5 points. The web page should display the progress and score for the player. 8. The player can choose to continue with the next phrase after putting a correct guess or giving up a difficult one. The next phrase will again be randomly chosen from the 20 phrases. 9. Finally, you need to put a title for your game page, like "Someone’s Puzzle Page"(put your own name there). Also, provide a short description of the rules for playing this game, e.g., "To play this game, you can reveal a certain number of the characters of each phrase before make a guess. The more characters you left unrevealed before you make a correct guess, the more scores you will be awarded."
项目 ID: 13143219

关于此项目

9提案
远程项目
活跃7 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
9威客以平均价$169 USD来参与此工作竞价
用户头像
I have expertise in this domain. Client's satisfaction is my first priority and believe in long-term relationship with clients. Thank you..
$100 USD 在3天之内
5.0 (18条评论)
4.9
4.9
用户头像
A proposal has not yet been provided
$222 USD 在10天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED STATES的国旗
Overland park, United States
0.0
0
付款方式已验证
会员自2月 18, 2017起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。