Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old May 30, 2009, 05:39 AM   #1
sammy1011
macrumors newbie
 
Join Date: May 2009
CLIPS Rule Based Expert Systems

Does anyone have any experience with writing expert systems in CLIPS? I have to do an assignment to solve the "Bulls and Cows" problem using CLIPS.
The task is for the program to guess a four digit random number read from the keyboard from the digits 1 to 9, without duplication.Finally print the score for the guess.

The score is computed as:

The computer wins if the guess is the same as the chosen number, and the program ends.
A score of one bull is accumulated for each digit in the guess that equals the corresponding digit in the randomly chosen initial number.
A score of one cow is accumulated for each digit in the guess that also appears in the randomly chosen number, but in the wrong position.


Anyone have some advice?

Thanks

Last edited by sammy1011; May 30, 2009 at 06:08 AM. Reason: More info added
sammy1011 is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Apple Acquires 18 'Axis-Based User Interface' Patents from Maya-Systems MacRumors MacRumors.com News Discussion 77 Sep 8, 2014 06:33 PM
View based vs Window based application Vishwas Gagrani iPhone/iPad Programming 1 Oct 14, 2012 05:25 PM
Idea: View-Based Notifications (Instead of Focus-Based) faroZ06 OS X 10.8 Mountain Lion 0 Jul 28, 2012 12:32 PM

Forum Jump

All times are GMT -5. The time now is 05:00 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC