₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,344,778 members, 8,513,636 topics. Date: Thursday, 05 November 2026 at 10:12 AM

Toggle theme

Losprince's Posts

Nairaland Forum › Losprince's Profile › Losprince's Posts

1 2 3 4 5 6 7 8 ... 85 86 87 88 89 90 91 92 93 (of 104 pages)

Romance › Re: Simply Reflection Of You by losprince(m): 1:56pm On Nov 24, 2014
karma
Romance › Re: Your Wife's X-man Is Better Than You! by losprince(m): 1:06pm On Nov 24, 2014
i would say
"i know! thats why i have been banging my ex, you are nothing compared to her"
Romance › Re: D Length Of Being Honest To Ur Lover by losprince(m): 12:55pm On Nov 24, 2014
dont cheat. Bleep one pussy, its organic
Romance › Re: Her Virginity Was Used As A Criteria To Secure A Job For Her Lover! by losprince(m): 11:38am On Nov 24, 2014
Ask4bigneyo:
And how on earth will you know the number of times she did it?
It doesnt read metres guess u knw dt..
your are a bit naive, what are my instruments for?
Romance › Re: Her Virginity Was Used As A Criteria To Secure A Job For Her Lover! by losprince(m): 11:04am On Nov 24, 2014
if she only did it once to get the job, i will love and cherish her complete.
Romance › Re: December Break Up Excuses! by losprince(m): 10:59am On Nov 24, 2014
guy: babe can we break up?

girL:so you want to break up on december abi?

guy: so you cant even tell when am joking abi? this relationship is not working(frown face).
Romance › Re: [deleted] by losprince(m): 10:46am On Nov 24, 2014
Harbosede02:
Op,that trash u posted up dere isn't describing a fat lady,itz describing an obesity!!btw the F-A-T word is an insult......


Wen u see chubby girls like me ehn,u go tripppp.wink
as i see your dp... i suma de tumble
Literature › Re: Forever And For Always - Story By Repogirl by losprince(m): 10:27am On Nov 24, 2014
repogirl:
now as for this story, pls keep watching this space, in the next few days I will put up something, am sorry again fo keeping you guys on hold like this.
next few days? are you joking or just horning your irony skills?
Programming › Re: Rock Paper And Scissors Game In - Javascript by losprince(op): 9:58am On Nov 22, 2014
programmers this silence is not encouraging o... pls say something.
Programming › Re: Rock Paper And Scissors Game In - Javascript by losprince(op): 2:19am On Nov 22, 2014
please replace the wink with ) "thats paranthesis"
Programming › Rock Paper And Scissors Game In - Javascript by losprince(op): 2:11am On Nov 22, 2014
so i decided to get serious in javascript, and thought i should do a rock paper and scissor game.

features:
lets the user input how many times they want to play
checks for invalid inputs
displays the final scores
the computer is just random

so here it is... of course in .html format. copy, paste and run in your browser

<html>
<head>
<title>rock , paper, scissors</title>
</head>
<body>
<script type="text/javascript">

var numOfgames = prompt("how many times would you like to fight?"wink;
parseInt(numOfgames);
gameCount=0;//this would be used to determine the end value

var win=0;
var loss=0;
var draw=0;//this three variables will hold the final scores
while(gameCount<numOfgames)
{

var playerChoice = prompt("what weapon would you like to attack the computer with: paper, rock, or scissors?"wink;
var choiceList = new Array("","rock", "paper", "scissors"wink;//an array that holds strings the computer can randomly select

var computerChoice=choiceList[Math.ceil(Math.random()*3)];//a statement that makes the computer select randomly from the array

if (playerChoice == computerChoice){
alert(playerChoice + " Against " + computerChoice + " its a Draw!"wink;
draw++;//increases the draw score line
}
else if(playerChoice == "rock"wink {
if (computerChoice == "scissors"wink{
alert("rock crushes scissors!! player WINS!"wink;
win++;//increases the win score line
}else if (computerChoice == "paper"wink
{
alert("paper cover rock... computer WINS!" );
loss++;//increases the loss score line
}
}else if(playerChoice == "paper"wink{
if (computerChoice == "rock"wink{
alert("paper covers rock... player WINS!"wink;
win++;
}else if(computerChoice == "scissors"wink
{
alert("scissors cuts papers! computer WINS!"wink;
loss++;
}
}else if(playerChoice == "scissors"wink{
if (computerChoice == "paper"wink{
alert("scissors cuts paper! player WINS!"wink;
win++;
}else if(computerChoice == "rock"wink
{
alert("rock crushes scissors!! computer wins!"wink;
loss++;
}
}else{
alert("please choose a valid weapon to fight the computer with; from \"rock, paper, scissors\""wink;
continue;//continue looping without affecting the program flow
}//end if
gameCount++;
alert(numOfgames-gameCount + " more fights left!"wink;
//document.write("<pre>"+"wins:"+win +" loss:"+loss +" draw:"+draw +"</pre><br />"wink;//uncomment this if you want to see your score after each fight
}
document.write("<pre>"+"wins:"+win +" loss:"+loss +" draw:"+draw +"</pre><br />"wink;//displays the scores in a html format
</script>

</body>
</html>

thanks for even opening this thread cool better programs ahead
Literature › Re: Maga No Need Pay by losprince(m): 6:25pm On Nov 19, 2014
ice come make i gii you format
Romance › Re: I Want To Marry Miss Nairaland - December 2014! by losprince(m): 4:26pm On Nov 19, 2014
chai op goats marry goats not humans
Romance › Re: How To Get Her 11 Digit... by losprince(m): 11:56pm On Nov 18, 2014
grin grin grin grin grin grin grin grin grin grin grin grin grin grin grin grin grin grin
Please Observe The Following Rules: (skip)
1. Please post on topic always. Don't derail or tribalize threads.
2. Don't abuse, bully, deliberately insult/provoke, fight, or wish harm to any Nairaland member.
3. Don't advocate or encourage violent actions against any person, tribe, race, animals, or group of people.
4. Discussions of the art of love-making should be restricted to the hidden sexuality section.
5. Don't post pornographic or disgusting pictures or videos on any section of Nairaland.
6. Don't post adverts or affiliate links outside the areas where adverts are explicitly allowed.
7. Don't say or do anything that's detrimental to the security or success of Nairaland.
8. Don't post false information on Nairaland.
9. Don't use Nairaland for illegal acts, e.g fraud, piracy, and spreading malware.
10. Don't expose the identity or post pictures of any Nairaland member without his/her consent.
11. Don't create distracting posts e.g. posts in giant fonts or ALL CAPS or with silly gifs.
12. Don't insert promotional signatures into your posts. Use the signature feature.
13. Please report any post or topic that violates the rules of Nairaland.
14. Please search the forum before creating a new thread on Nairaland.
15. Don't attempt to post censored words by misspelling them.
16. Don't promote MLM schemes, HYIPS, or other questionable schemes on Nairaland.
18. Don't spam the forum by advertising in the wrong places or posting the same content many times.
19. Don't create a new account when banned for breaking a rule. If you do, make sure we don't find out.
20. Please cooperate with the moderators, super-moderators, and administrator. Treat them with respect.
21. Please spell words correctly when you post, and try to use perfect grammar and punctuation

i see faran0 coming grin
Nairaland General › Re: Facebook Fan Competition by losprince(m): 12:47pm On Nov 18, 2014
no offense but, i think other contestants has a better chance at winning
Romance › Re: Is He Your Boyfriend? Is She Your Girlfriend? by losprince(m): 12:45pm On Nov 18, 2014
is he your boyfriend huh grin
Romance › Re: Women Are Difficult To Trust; Why? by losprince(m): 8:44am On Nov 18, 2014
you see, what goes around comes around. men do most if not all of those things you stated above. trust me, there are trust worthy women. nobody is perfect. :-/

1 2 3 4 5 6 7 8 ... 85 86 87 88 89 90 91 92 93 (of 104 pages)