Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~2K People Reached
Favorite Tags
Member Avatar for optikali

Hello all! I am generating a random int between 0 and 75: [CODE] public static int rand(){ int num = (int) (Math.random()*75); return num; }[/CODE] How would I generate the same range of numbers but with a 70% bias for the lower half of possible numbers? I thought I might …

Member Avatar for JamesCherrill
0
1K
Member Avatar for optikali

Hello all! I am starting to write a little roulette game and while trying to print out my arrays to make sure they contain the correct values the compiler keeps screaming this at me: "non-static method .... cannot be referenced from a static context" Any pointers would be greatly appreciated! …

Member Avatar for optikali
0
86
Member Avatar for optikali

Java n00b here. I am putting together a little random number game and am having trouble with my loss condition test. It seems like Java does not like casting ints as a bools. Here is my code so far: [code=java] import java.util.*; public class TwoRandom { public static void main …

Member Avatar for optikali
0
179
Member Avatar for optikali

I am trying to put up a rope border (border.png) on the sides of my center box of text. Text will work with z-index properly, but the border just will not show. Any ideas? style.css = [CODE]* {margin:0px;padding:0px;top:0px;left:0px;} body{ text-align: center; background: #000000; } #central{ margin-right: auto; margin-left: auto; margin-top: …

Member Avatar for Troy III
0
219
Member Avatar for optikali

So below is my first attempt at using user input, but I can't figure out how to get the input (at the bottom) to plug into my function definitions. I have no proper python training and am attempting to learn on my own with some books. I would appreciate any …

Member Avatar for sneekula
0
185