let me die

are we at war tonight
今晚我们是否还处在战争中/
will there be angels whispering to me goodnight
会不会有天使轻轻的对我说一声晚安/
don't wake when the lightning strikes
不要让电闪雷鸣叫醒我/
my heart for you is true
我对你的心是真的/
let no one take that from you
不要让什么把它从你那里拿走/
time is running tight
时间总是流逝的很快/
can't change from wrong to right
不能把错的变成对的/
so i'll close my eyes and dream a little
因此我闭上眼睛做了个小梦/
just like how we used to be baby
就像我们小时候一样 


it's time to say fare-well
是说再见的时候了/
no need to cry or feeling sorrow
没有必要去哭泣或者感到悲伤/
it's alright , all in the book of life
没什么的/那都是命运的安排/
heaven grant me one last wish i beg you
上天赐予我最后一个愿望/我恳求你/
let me say these words before i go
让我在走之前说完这些话 


i will love you till the end of time
我将爱你直到时间的尽头/
with every breath of mine, i'llhold you by my side
伴随着我的每一次呼吸/我将让你留在我身边/
but i'll rest in peace, my sweet heart would you
就算我会在安详中逝去/你都会是我最心爱的人/
let me die in your arms with you
让我在你的怀抱中死去陪伴着你/
only you can stop the rain tonight
只有你才能阻止今夜的风雨/
only you can change my would from black to white
只有你才能使我的世界由黑暗走向光明/
so i'll close my eyes and dream more
因此我将会闭上眼睛/做一个更长的美梦 


are we at war tonight
今晚我们是否还处在战争中
will there be angels whispering to me goodnight
/会不会有天使轻轻的对我说一声晚安/
don't wake when the lightning strikes
不要让电闪雷鸣叫醒我/
heaven grant me one last wish i beg you
上天赐予我最后一个愿望/我恳求你/
let me say these words before i go
让我在走之前说完这些话 
i will love you till the end of time
我将爱你直到时间的尽头/
with every breath of mine, i'llhold you by my side
伴随着我的每一次呼吸/我将让你留在我身边/
but i'll rest in peace, my sweet heart would you
就算我会在安详中逝去/你都会是我最心爱的人/
let me die in your arms with you
让我在你的怀抱中死去陪伴着你/
only you can stop the rain tonight
只有你才能阻止今夜的风雨/
only you can give me strength to fight
只有你才能给我力量去战斗/
till the sky is burning , it's the end of time
直到天空开始燃烧/那将是时间的尽头 
look ahead tomorrow, a long and winding road
展望明天/是一条很长而又弯曲的道路/
keep the faith of mine don't let it go
不要让它消失/
you're the only reason night ain't growing cold
你是让黑夜不再变冷的唯一原因/如果失去你/
what will i do , without you
我该怎么办 


i will love you till the end of time
我将爱你直到时间的尽头/
with every breath of mine,i'llhold you by my side
伴随着我的每一次呼吸/我将让你留在我身边/
but i'll rest in peace.my sweet heart would you
就算我会在安详中逝去/你都是会是我最心爱的人/
let me die in your arms with you
让我在你的怀抱中死去陪伴着你/
only you can stop the rain tonight
只有你才能阻止今夜的风雨/
only you can make my world so bright,
只有你能让我的世界变得更加明亮/
life, no longer empty,
生命不再空虚/
with you in my heart , in my heart
有你在我心里/在我心里
---
Sure, I can help you with that. Here is a basic implementation of the Dice class in Java: ```java import java.util.Random; public class Dice { private int sides; private Random rand; public Dice(int sides) { this.sides = sides; this.rand = new Random(); } public int roll() { return rand.nextInt(sides) + 1; } } ``` This class has a constructor that takes the number of sides on the die, and a `roll()` method that returns a random number between 1 and the number of sides. Now, let's write the game that uses this class: ```java import java.util.Scanner; public class DiceGame { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); System.out.print("Enter the number of players: "); int numPlayers = scanner.nextInt(); System.out.print("Enter the number of sides on each die: "); int numSides = scanner.nextInt(); System.out.print("Enter the winning score: "); int winningScore = scanner.nextInt(); Dice[] dice = new Dice[numPlayers]; int[] scores = new int[numPlayers]; for (int i = 0; i < numPlayers; i++) { dice[i] = new Dice(numSides); } int winner = -1; int rolls = 0; while (winner == -1) { for (int i = 0; i < numPlayers; i++) { int roll = dice[i].roll(); scores[i] += roll; rolls++; if (scores[i] >= winningScore) { winner = i; break; } } } System.out.println("Player " + (winner + 1) + " wins with a score of " + scores[winner] + " in " + rolls + " rolls."); } } ``` This game prompts the user for the number of players, the number of sides on each die, and the winning score. It then creates an array of `Dice` objects and an array to store each player's score. It then enters a loop that rolls the dice for each player and updates their scores until a player reaches the winning score. Once a winner is found, the game prints out the winner's information. I hope that helps! Let me know if you have any questions.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值