- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
11 Posted Topics
Re: I think that would be a great idea since im having to ask gaming questions in the java forum rather than a specific forum for games. By the way can anyone gove me advice on how to implement a scrabble computer player?? (Like where do i start, whats the thought … | |
HI, Im relatively new to XML and was wondering how I could use DOM to produce a "per shop" report showing a list of the items available in the given shop (shop 1 first then 2), the item description, stock level and calculate a total value of the stock level … | |
HI, Im relatively new to XML and was wondering how I could use DOM to produce a "per shop" report showing a list of the items available in the given shop (shop 1 first then 2), the item description, stock level and calculate a total value of the stock level … | |
How can one use recursion to get the following representations of a given word e.g. 'CARE': C#ARE AC#RE RAC#E ERAC# Heres my attempt but i only manage to get the first representation, where does the recursive step need to go? import java.awt.*; import javax.swing.*; import java.util.Random; import java.awt.Color; import java.awt.event.*; … | |
Just wondering if there can be a raw ASCII input where the same token (e.g 257 = at) appears numerous times (say 100) in the compressed output? what ever the solution is whats the reasoning behind it? Cheers | |
HI, I wanted to know how could I retrieve a sealed object from a signed object and then verify it? Heres my attempt: if(!sending){//if we are receiving (being the server) ServerSocket server = new ServerSocket(port); Socket s = server.accept(); ObjectInputStream oin = new OnbjectInputStream(s.getInputStream()); ObjectOutputStream oout = new ObjectOutputStream(s.getOutputStream()); System.out.println("Please … | |
Hi all, I am trying to take a list of words (from a text file) and then split each word into characters how can I do this? The code I currently have just reads in all the words (at, as, ate, apple, apply) found in text file and prints them … | |
Hi All, Im trying to implement a trie in java(which is basically a tree used to store words). I have the following method to add a word but am unsure how i would go about check to see if the prefix of a word already exists. Heres my code: public … | |
Hi all, I would like some ideas as to how I would go about developing a trie to store a very small dictionary (of about 10 words). How would I get the program to get each word and make the relevant nodes and edges? Also dela with compressing it? Thanks … | |
hey, wanted to know if anyone knew how we would use a 'directed acyclic word graph' (dawg) to generate a computer players move in scrabble. Know of any algorithms, have you got any code snippets i can see? | |
HI, I am trying to implement a scrabble computer player that is capable of beating a human player. I dont not know how to go about starting this project (other than designing a GUI for the game itself). Any advice on how i would store and search the dictionary quickly … |
The End.