TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
jay santaos
NA
1
4.7k
c# windows application form (battleship game)
May 15 2013 7:13 PM
hey guys can someone help me please? im new to c# and im doing visual c# windows application form.
i wanna make 5 buttons and generate 2 random colors (red and blue) for them. Its a battleship game.
i wanna say if the 2 red is found messagebox.show ("You've Won")
and if 3 blue were found messagebox.show("You've Lost")
i wanna make a string because i would need 100 buttons for this battle ship but i dunno how. can someone write me a short code to give me ideas on how to make array and put 2 random colors for the button please.
soon i would need also an AI battleship game. if anyone has any ideas about this please reply back thank you!
Reply
Answers (
0
)
Youtube API Posting Comment
C application conenct database Mysql