₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,062 members, 8,420,097 topics. Date: Thursday, 04 June 2026 at 11:23 AM

Toggle theme

Kingvicky's Posts

Nairaland ForumKingvicky's ProfileKingvicky's Posts

1 2 3 (of 3 pages)

Christianity EtcRe: Word Of God? by kingvicky(m): 8:25pm On Nov 22, 2017
hahn:
Yes I do and that is mostly because I think about it more than most adherents do. Most theists don't ponder over their beliefs, it's teachings and it's god often enough but for me I see it in every facet of the society especially as a Nigerian
It's good you put intuition at work, sign of being a genius but you are a rather rash one, it seems you are Militant atheist.



Assumptions. Assumptions. Typical of an average theist
Assumptions could be right, but the second party could easily deny of which you have and it's okay, doesn't necessarily mean I am right about you.


Oh but it is because these theists put their religion in my face in the name of "evangelism" and "preaching" by telling me they have the right to "spread the word"
And they made it an obligation for you to listen to their preachings? Read your line again....
Or do you lack the choice of saying 'no'?



Save this sermon for the deluded, illiterate goat herders or psychopathic and incompetent god who wrote the holy book you hold on to dearly who felt they/it had the audacity despite their/it's ignorance to state that people who do not believe are "fools"
Alright, I will tell this 'god' and the unlettered nomads that atheism is not a perfectly logical stance and why am I doing that again? For what reason do they have to note that?

Think about it for a moment. Only a dunce would believe that there is a god in the sky with a temper who loves us unconditionally but will send us to hell for not loving it but sees nothing wrong in watching women get raped, innocent children getting murdered, poverty, hunger and suffering or who believes in talking snakes, talking donkeys, flying chariots and other such nonsense.

I mean to actually believe these things are real requires either a deliberate dishonesty towards his/her own intelligence or the person is totally dunce and gullible.

Don't you think? smiley
Well, I for one have always subjected my beliefs to scrutiny. I do not hold tight as morally justifiable, the idea of suffering in an infernal realm of eternal retribution. But that is a discussion for another time.
A first cause doesn't necessarily have to be personal but there could anthropomorphic ideas about it.
I will admit, why God allows evil is what I cannot fathom. Explaining that would have us delve into theodicy..
Christianity EtcRe: Word Of God? by kingvicky(m): 7:38pm On Nov 21, 2017
hahn:
First you have to be dunce.

Then you have to be very gullible to believe all the rubbish in the bible

You also have to a be good hypocrite because it takes a lot of hypocrisy to read one thing and then interpret it in another way

You also have to be self centered and lack possess a huge dose of apathy because it takes a high level of narcissism to be comfortable with the fact that your god is a psychopath who will send everyone who doesn't believe in it to hell despite it's hide and seek and also to willingly serve a god that is oblivious to world suffering

And whatever happens that you are ignorant of or can't explain just say "god did it" or "na devil cause am"

smiley
To be frank, you discuss myths even more than their adherents. It means you are rather too keen on removing religion and you vent your frustration since you ain't getting it.
Those who hold on to the said 'myths' as real have the right to give whatever interpretation they see fit, it is not your business how they chose to interpret their texts.
Permit me to dispel your disingenuous claims, intellect is not mutually exclusive to theism neither is atheism a perfectly logical stance. Belief and intelligence are miles apart on a comparison scale, choosing to define one based on the level of the other is like saying you only know if hamburger is delicious if you taste fufu... So choosing to believe in a holy text doesn't make one a dunce, it has no correlation with intelligence, it is a matter of choice.
Christianity EtcRe: Three Arguments Atheists Hate Most by kingvicky(m): 7:27pm On Nov 09, 2017
donnffd:
I see fallacies everywhere...

First of, Let me turn the argument on its head, If a design needs a designer, then obviously your God would also need a creator because the designer has to be more complex than the design and if complexity only comes from complexity, then you run into infinite regression.
Implying a static universe would be incongruous and non-sequitur with the second thermodynamic principle which predicts an aggravating and inexorable approach to entropy.
We face the problem of a beginning when we consider the redshifts in frequencies of light from distant galaxies. The universe must have originated from a primordial infinitely dense point expanding within a trans-cosmic realm, except you want to imply the universe is expanding within itself. The retortion of the infinite regress problem due to God needing a precursor is just meant to wish away the whole idea of a transcendental watchman, but nonetheless it is valid when a theist points out the complexity of the cosmos as being bewildering and of course the animus for assuming a first cause. God being the artisan, need not be constrained by spacetime in which causes must preceed their effects and of cause must assume atemporality to be the precursor to the universe.


2. Not all designs have designers, Evolution is a simple example.
This is rather obfuscatory. The evangelicals of this theory have not given a rather clear proof how this relates to our current advancement.

3. DNA is not a programming language, just because it is called a code doesnt mean its the same as a computer programming language, this is a false-equivalence.
Agreed
ProgrammingRe: A Simple Tic-tac-toe Game Using Javafx by kingvicky(op): 7:58pm On Nov 03, 2017
LordeCalifornia:
Nice. can you post a screenshot of the UI?
The laptop I used ain't with me but hopefully I would get a pic
Christianity EtcRe: WHEN Did God Create Hell? by kingvicky(m): 7:02pm On Nov 02, 2017
ifenes:
Atheism is carved out of an ex Christian who never understood the metaphors in the bible. Atheists and Christians both fix their minds on anthropomorphic ideas about God.

Atheists asks, “Why can’t God prove his existence, how and when did God create hell fire?" These are irrelevant questions that came out of years and years of lies from religion. Of course religion has suffocated and mistranslated the idea called God, neither has present science( the atheist new found faith) done anything to give a proper explanation of this phenomenon " God" creating so much confusion and immature questions and arguments.

Both Atheist and religionists are brought up with the wrong concept of God, Angels, Demons and spirituality from the foundation of their human imaginations. A religionists turned Atheist, obviously a rebel to the religionist's idea of God fights the idea to death, giving countless of reasons why this God cannot exist, constant requests for evidence........ goes around in a boring circles and more circles. What a waste of human abilities.

People should go back to basis. Read those books you have been brainwashed with open minds, do not condemn them but instead ignore the word Gods, Satans, Demons programmed into our minds by the 12th centuries writers. See it more as a literature, or perhaps beautiful stories. Because a book used to inprison your mind is probably the best book to release yourself. At the end you will realise that God is a bogus word created in fear.

Obviously a self proclaim Atheist who talks about God all the time is obviously still a prisoner to the Christian/Islamic God ideology.
Would you in all geniusness explain then the concept of God as posited by sacred texts??
ProgrammingRe: A Simple Tic-tac-toe Game Using Javafx by kingvicky(op): 6:31pm On Nov 02, 2017
Main.java


package tictactoe;

import javafx.application.Application;
import javafx.stage.Stage;
import static javafx.application.Application.launch;
import static tictactoe.TicTacToe.*;
import javafx.scene.Scene;
import javafx.event.EventHandler;
import javafx.event.ActionEvent;
import javafx.scene.Cursor;
import static tictactoe.GameView.mainPane;
import static javafx.stage.Modality.WINDOW_MODAL;
import static tictactoe.GameLogicAndMethods.endWindow;
import static tictactoe.GameLogicAndMethods.showAboutWindow;
import static tictactoe.GameLogicAndMethods.showHelpWindow;
import static tictactoe.GameLogicAndMethods.disableBoards;



public class Main extends Application{


@Override
public void start(final Stage stage){

GameView gameView=new GameView();

TicTacToe tictac=new TicTacToe();

Scene scene=new Scene(mainPane, 700, 600);

aboutFile.setOnAction(new EventHandler<ActionEvent>(){
@Override
public void handle(ActionEvent e){
showAboutWindow(stage, WINDOW_MODAL);
}
});

helpFile.setOnAction(new EventHandler<ActionEvent>(){
@Override
public void handle(ActionEvent e){
showHelpWindow(stage, WINDOW_MODAL);
}
});

endFile.setOnAction(new EventHandler<ActionEvent>(){
@Override public void handle(ActionEvent e){
endWindow(stage, WINDOW_MODAL);

disableBoards();
nextBtn.setDisable(true);








}


});



scene.setCursor(Cursor.HAND);

stage.setScene(scene);
stage.setTitle("Tic-Tak-Toe"wink;
stage.setResizable(false);
stage.show();





}

public static void main(String[] args){

launch(args);
}
}
ProgrammingRe: A Simple Tic-tac-toe Game Using Javafx by kingvicky(op): 6:29pm On Nov 02, 2017
GameView.java


package tictactoe;

import static tictactoe.GameLogicAndMethods.*;
import static tictactoe.TicTacToe.*;
import javafx.event.EventHandler;
import javafx.geometry.Pos;
import javafx.scene.Parent;
import javafx.scene.input.MouseEvent;
import javafx.scene.layout.BorderPane;
import javafx.scene.layout.GridPane;
import javafx.scene.paint.Color;


public class GameView extends Parent {

public static GridPane mainPane=new GridPane();
public GameView(){
row1Col1.setMinSize(150, 150);

row1Col2.setMinSize(150, 150);
row1Col3.setMinSize(150, 150);
row2Col1.setMinSize(150, 150);
row2Col2.setMinSize(150, 150);
row2Col3.setMinSize(150, 150);
row3Col1.setMinSize(150, 150);
row3Col2.setMinSize(150, 150);
row3Col3.setMinSize(150, 150);


GridPane boardPane=new GridPane();
GridPane scorePane=new GridPane();
GridPane promptPane=new GridPane();
GridPane buttonPane=new GridPane();
BorderPane menuPane=new BorderPane();

menuPane.setCenter(menuBar);

menuPane.setPrefSize(1000, 700);

menuBar.setPrefWidth(1000);

menuBar.getMenus().addAll(menu);

menu.getItems().addAll(aboutFile, helpFile, endFile);


boardPane.add(row1Col1, 0, 0);
boardPane.add(row1Col2, 1, 0);
boardPane.add(row1Col3, 2, 0);
boardPane.add(row2Col1, 0, 1);
boardPane.add(row2Col2, 1, 1);
boardPane.add(row2Col3, 2, 1);
boardPane.add(row3Col1, 0, 2);
boardPane.add(row3Col2, 1, 2);
boardPane.add(row3Col3, 2, 2);
boardPane.setAlignment(Pos.CENTER);
boardPane.setHgap(0);
boardPane.setVgap(0);
boardPane.setPrefWidth(1000);



nextBtn.setDisable(true);

buttonPane.add(nextBtn, 3, 3);
buttonPane.setAlignment(Pos.CENTER);

scorePane.add(xTitle, 0, 0);
scorePane.add(xScoreField, 2, 0);
scorePane.add(oTitle, 0, 2);
scorePane.add(oScoreField, 2, 2);
scorePane.setHgap(3);
scorePane.setVgap(3);
scorePane.setAlignment(Pos.CENTER);

promptPane.add(prompt, 0, 0);
promptPane.setAlignment(Pos.CENTER);

prompt.setStyle("-fx-font-size: 30px;"wink;

mainPane.add(menuPane, 0, 0);
mainPane.add(boardPane, 0, 2);
mainPane.add(scorePane, 0, 1);
mainPane.add(promptPane, 0, 6);
mainPane.add(buttonPane, 0, 7);
mainPane.setAlignment(Pos.CENTER);
boardPane.setGridLinesVisible(true);

mainPane.setHgap(5);
mainPane.setVgap(5);

mainPane.setMaxSize(700, 700);

xScoreField.setDisable(true);

oScoreField.setDisable(true);

xScoreField.setMaxSize(40, 40);
oScoreField.setMaxSize(40, 40);

nextBtn.setStyle("-fx-background-color: #f5f5f5; -fx-font-weight: bold; -fx-border-color: blue;"wink;















prompt.setFill(Color.RED);
xTitle.setFill(Color.BLUE);
oTitle.setFill(Color.YELLOWGREEN);

row1Col1.setOnMouseClicked(new EventHandler<MouseEvent>(){
@Override
public void handle(MouseEvent me){
row1Col1.setText(currentPlayerMark);
row1Col1.setMinSize(150, 150);

if (currentPlayerMark.equals("X"wink){

row1Col1.setStyle("-fx-text-fill: blue; -fx-font-size: 60px; -fx-font-weight: bold;"wink;

}

else {
row1Col1.setStyle("-fx-text-fill: yellow; -fx-font-size: 60px; -fx-font-weight: bold;"wink;
}

switchTurns();

row1Col1.setDisable(true);

checkReasonableParameters();


}
});

row1Col2.setOnMouseClicked(new EventHandler<MouseEvent>(){
@Override
public void handle(MouseEvent me){
row1Col2.setText(currentPlayerMark);
row1Col2.setMinSize(150, 150);
if (currentPlayerMark.equals("X"wink){

row1Col2.setStyle("-fx-text-fill: blue; -fx-font-size: 60px; -fx-font-weight: bold;"wink;

}

else {
row1Col2.setStyle("-fx-text-fill: yellow; -fx-font-size: 60px; -fx-font-weight: bold;"wink;
}

switchTurns();

row1Col2.setDisable(true);

checkReasonableParameters();
}
});

row1Col3.setOnMouseClicked(new EventHandler<MouseEvent>(){
@Override
public void handle(MouseEvent me){
row1Col3.setText(currentPlayerMark);
row1Col3.setMinSize(150, 150);
if (currentPlayerMark.equals("X"wink){

row1Col3.setStyle("-fx-text-fill: blue; -fx-font-size: 60px; -fx-font-weight: bold;"wink;

}

else {
row1Col3.setStyle("-fx-text-fill: yellow; -fx-font-size: 60px; -fx-font-weight: bold;"wink;
}

switchTurns();

row1Col3.setDisable(true);

checkReasonableParameters();
}
});

row2Col1.setOnMouseClicked(new EventHandler<MouseEvent>(){
@Override
public void handle(MouseEvent me){
row2Col1.setText(currentPlayerMark);
row2Col1.setMinSize(150, 150);
if (currentPlayerMark.equals("X"wink){

row2Col1.setStyle("-fx-text-fill: blue; -fx-font-size: 60px; -fx-font-weight: bold;"wink;

}

else {
row2Col1.setStyle("-fx-text-fill: yellow; -fx-font-size: 60px; -fx-font-weight: bold;"wink;
}

switchTurns();

row2Col1.setDisable(true);

checkReasonableParameters();
}
});

row2Col2.setOnMouseClicked(new EventHandler<MouseEvent>(){
@Override
public void handle(MouseEvent me){
row2Col2.setText(currentPlayerMark);
row2Col2.setMinSize(150, 150);
if (currentPlayerMark.equals("X"wink){

row2Col2.setStyle("-fx-text-fill: blue; -fx-font-size: 60px; -fx-font-weight: bold;"wink;

}

else {
row2Col2.setStyle("-fx-text-fill: yellow; -fx-font-size: 60px; -fx-font-weight: bold;"wink;
}

switchTurns();

row2Col2.setDisable(true);

checkReasonableParameters();
}
});

row2Col3.setOnMouseClicked(new EventHandler<MouseEvent>(){
@Override
public void handle(MouseEvent me){
row2Col3.setText(currentPlayerMark);
row2Col3.setMinSize(150, 150);
if (currentPlayerMark.equals("X"wink){

row2Col3.setStyle("-fx-text-fill: blue; -fx-font-size: 60px; -fx-font-weight: bold;"wink;

}

else {
row2Col3.setStyle("-fx-text-fill: yellow; -fx-font-size: 60px; -fx-font-weight: bold;"wink;
}

switchTurns();

row2Col3.setDisable(true);

checkReasonableParameters();
}
});

row3Col1.setOnMouseClicked(new EventHandler<MouseEvent>(){
@Override
public void handle(MouseEvent me){
row3Col1.setText(currentPlayerMark);
row3Col1.setMinSize(150, 150);
if (currentPlayerMark.equals("X"wink){

row3Col1.setStyle("-fx-text-fill: blue; -fx-font-size: 60px; -fx-font-weight: bold;"wink;

}

else {
row3Col1.setStyle("-fx-text-fill: yellow; -fx-font-size: 60px; -fx-font-weight: bold;"wink;
}

switchTurns();

row3Col1.setDisable(true);

checkReasonableParameters();
}
});

row3Col2.setOnMouseClicked(new EventHandler<MouseEvent>(){
@Override
public void handle(MouseEvent me){
row3Col2.setText(currentPlayerMark);
row3Col2.setMinSize(150, 150);
if (currentPlayerMark.equals("X"wink){

row3Col2.setStyle("-fx-text-fill: blue; -fx-font-size: 60px; -fx-font-weight: bold;"wink;

}

else {
row3Col2.setStyle("-fx-text-fill: yellow; -fx-font-size: 60px; -fx-font-weight: bold;"wink;
}

switchTurns();

row3Col2.setDisable(true);

checkReasonableParameters();
}
});

row3Col3.setOnMouseClicked(new EventHandler<MouseEvent>(){
@Override
public void handle(MouseEvent me){
row3Col3.setText(currentPlayerMark);
row3Col3.setMinSize(150, 150);
if (currentPlayerMark.equals("X"wink){

row3Col3.setStyle("-fx-text-fill: blue; -fx-font-size: 60px; -fx-font-weight: bold;"wink;

}

else {
row3Col3.setStyle("-fx-text-fill: yellow; -fx-font-size: 60px; -fx-font-weight: bold;"wink;
}

switchTurns();

row3Col3.setDisable(true);

checkReasonableParameters();
}
});



nextBtn.setOnMouseClicked(new EventHandler<MouseEvent>(){
@Override
public void handle(MouseEvent e){
initializeGame();
}
});

}


}
ProgrammingRe: A Simple Tic-tac-toe Game Using Javafx by kingvicky(op): 6:27pm On Nov 02, 2017
GameLogicAndMethods.java


package tictactoe;

import javafx.scene.control.TextField;
import static tictactoe.TicTacToe.*;
import javafx.scene.Parent;
import javafx.stage.Window;
import javafx.stage.Modality;
import javafx.stage.Stage;
import javafx.scene.text.Text;
import javafx.scene.layout.BorderPane;
import javafx.scene.layout.GridPane;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.input.MouseEvent;
import javafx.event.EventHandler;
import javafx.geometry.Pos;
import javafx.scene.paint.Color;
import javafx.stage.WindowEvent;

public class GameLogicAndMethods extends Parent{

public static TextField xScoreField=new TextField(" - "wink;
public static TextField oScoreField=new TextField(" - "wink;


public static void changeStartMark(){
if (startMark.equals("X"wink){

startMark="O";
currentPlayerMark=startMark;

promptText="O plays first this time";
prompt.setText(promptText);



}

else{

startMark="X";
currentPlayerMark=startMark;

promptText="X plays first this time";
prompt.setText(promptText);

}
}

public static void switchTurns(){

if (currentPlayerMark.equals("X"wink){

currentPlayerMark="O";
promptText="It's O's turn";
prompt.setText(promptText);

}

else{

currentPlayerMark="X";
promptText="It's X's turn";
prompt.setText(promptText);
}
}

public static boolean checkRow1(){

return((!row1Col1.getText().equals(" "wink) && row1Col1.getText().equals(row1Col2.getText()) && row1Col2.getText().equals(row1Col3.getText()));

}

public static boolean checkRow2(){

return((!row2Col1.getText().equals(" "wink) && row2Col1.getText().equals(row2Col2.getText()) && row2Col2.getText().equals(row2Col3.getText()));

}

public static boolean checkRow3(){

return((!row3Col1.getText().equals(" "wink) && row3Col1.getText().equals(row3Col2.getText()) && row3Col2.getText().equals(row3Col3.getText()));

}

public static boolean checkColumn1(){
return((!row1Col1.getText().equals(" "wink) && row1Col1.getText().equals(row2Col1.getText()) && row2Col1.getText().equals(row3Col1.getText()));

}

public static boolean checkColumn2(){

return((!row1Col2.getText().equals(" "wink) && row1Col2.getText().equals(row2Col2.getText()) && row2Col2.getText().equals(row3Col2.getText()));


}

public static boolean checkColumn3(){

return((!row1Col3.getText().equals(" "wink) && row1Col3.getText().equals(row2Col3.getText()) && row2Col3.getText().equals(row3Col3.getText()));

}

public static boolean checkDiagonal1(){

return ((!row1Col1.getText().equals(" "wink) && row1Col1.getText().equals(row2Col2.getText()) && row2Col2.getText().equals(row3Col3.getText()));
}

public static boolean checkDiagonal2(){

return ((!row1Col3.getText().equals(" "wink) && row1Col3.getText().equals(row2Col2.getText()) && row2Col2.getText().equals(row3Col1.getText()));

}

public static boolean checkRows(){

return (checkRow1() || checkRow2() || checkRow3());
}

public static boolean checkColumns(){

return (checkColumn1() || checkColumn2() || checkColumn3());
}

public static boolean checkDiagonals(){

return (checkDiagonal1() || checkDiagonal2());
}

public static boolean checkWins(){

return (checkRows() || checkColumns() || checkDiagonals());
}

public static boolean isBoardFull(){

return ((!row1Col1.getText().equals(" "wink) && (!row1Col2.getText().equals(" "wink) && (!row1Col3.getText().equals(" "wink) && (!row2Col1.getText().equals(" "wink) && (!row2Col2.getText().equals(" "wink) && (!row2Col3.getText().equals(" "wink) && (!row3Col1.getText().equals(" "wink) && (!row3Col2.getText().equals(" "wink) && (!row3Col3.getText().equals(" "wink));
}

public static boolean boardIsFullWithoutWins(){

return (isBoardFull() == true && !checkWins());
}

public static boolean checkForX(){

return ((row1Col1.getText().equals("X"wink && checkRow1()) || (row2Col1.getText().equals("X"wink && checkRow2()) || (row3Col1.getText().equals("X"wink && checkRow3()) || (row1Col1.getText().equals("X"wink && checkColumn1()) || (row1Col2.getText().equals("X"wink && checkColumn2()) || (row1Col3.getText().equals("X"wink && checkColumn3()) || (row1Col1.getText().equals("X"wink && checkDiagonal1()) || (row1Col3.getText().equals("X"wink && checkDiagonal2()));
}

public static boolean checkForO(){

return ((row1Col1.getText().equals("O"wink && checkRow1()) || (row2Col1.getText().equals("O"wink && checkRow2()) || (row3Col1.getText().equals("O"wink && checkRow3()) || (row1Col1.getText().equals("O"wink && checkColumn1()) || (row1Col2.getText().equals("O"wink && checkColumn2()) || (row1Col3.getText().equals("O"wink && checkColumn3()) || (row1Col1.getText().equals("O"wink && checkDiagonal1()) || (row1Col3.getText().equals("O"wink && checkDiagonal2()));

}

public static void incrementScores(){

if(checkForX() == true){

xScore=xScore+1;

promptText="X wins this game";
prompt.setText(promptText);

xScoreField.setText(""+xScore);
}
else if(checkForO() == true){

oScore=oScore+1;

promptText="O wins this game";
prompt.setText(promptText);

oScoreField.setText(""+oScore);


}
else{

promptText="It's a tie";
prompt.setText(promptText);
}
}

public static void showHelpWindow(Window owner, Modality modality){

final Stage stage=new Stage();

Text helpText=new Text("Welcome to the Tic-Tac-Toe game designed by Kingsley Victor. \n The game is basically a two-player game. The vs-computer function would be added hopefully in the nearest future. \n Each player tries to fill each column with their selected mark. The first to fill the rows, columns or diagonals with their current mark wins the game. \n It is possible to have two rows or columns nearly filled with just an identical mark left to make a win but it requires logic and intelligence in that aspect"wink;

helpText.setFill(Color.ROYALBLUE);

Button exitStage=new Button("Close"wink;

exitStage.setStyle("-fx-background-color: #f5f5f5; -fx-border-color: #dcdcdc; -fx-font-weight: bold;"wink;

exitStage.setOnMouseClicked(new EventHandler<MouseEvent>(){
@Override
public void handle(MouseEvent e){
stage.close();
}
});

BorderPane root=new BorderPane();

root.setCenter(helpText);

GridPane windowPane=new GridPane();

windowPane.add(root, 0, 0);

windowPane.add(exitStage, 0, 2);

windowPane.setAlignment(Pos.CENTER);

windowPane.setHgap(3);
windowPane.setVgap(3);

Scene scene=new Scene(windowPane);

stage.setScene(scene);

stage.initOwner(owner);
stage.initModality(modality);

stage.setResizable(false);
stage.setTitle("Help"wink;

stage.show();
}


public static void showAboutWindow(Window owner, Modality modality){

final Stage stage=new Stage();

Text aboutText=new Text("Creator: Kingsley Victor. \n Version: 1.0. \n Year Of Creation: 2017 \n Provider: Nehemiah Ugwa "wink;

aboutText.setFill(Color.YELLOWGREEN);

Button exitStage=new Button("Close"wink;

exitStage.setStyle("-fx-background-color: #f5f5f5; -fx-border-color: #dcdcdc; -fx-font-weight: bold;"wink;

exitStage.setOnMouseClicked(new EventHandler<MouseEvent>(){
@Override
public void handle(MouseEvent e){
stage.close();
}
});

BorderPane root=new BorderPane();

root.setCenter(aboutText);

GridPane windowPane=new GridPane();

windowPane.add(root, 0, 0);

windowPane.add(exitStage, 0, 2);

windowPane.setAlignment(Pos.CENTER);

windowPane.setHgap(3);
windowPane.setVgap(3);

Scene scene=new Scene(windowPane);

stage.setScene(scene);

stage.initOwner(owner);
stage.initModality(modality);

stage.setResizable(false);
stage.setTitle("About the game"wink;

stage.show();
}

public static void endWindow(Window owner, Modality modality){


Stage stage=new Stage();

Text xscoreText=new Text("X "+xScoreField.getText());

Text oscoreText=new Text("O "+oScoreField.getText());

Text remark=new Text();

remark.setFill(Color.BLUEVIOLET);

BorderPane border=new BorderPane();

Button exit=new Button("Exit"wink;

exit.setStyle("-fx-background-color: #f5f5f5; -fx-border-color: #dcdcdc; -fx-font-weight: bold;"wink;

exit.setMaxSize(70, 70);
exit.setOnMouseClicked(new EventHandler<MouseEvent>(){
@Override
public void handle(MouseEvent e){
System.exit(0);
}
});

border.setCenter(remark);

if (xScore > oScore){

remark.setText("X won the overall game"wink;
}
else if(oScore > xScore){
remark.setText("O won the overall game"wink;
}
else{

remark.setText("The game ended in a draw"wink;
}



GridPane grid=new GridPane();

grid.add(xscoreText, 0, 0);
grid.add(oscoreText, 0, 2);
grid.add(border, 0, 4);
grid.add(exit, 3, 6);
grid.setHgap(3);
grid.setVgap(3);
grid.setAlignment(Pos.CENTER);
grid.setMinSize(350, 350);

Scene scene=new Scene(grid);

stage.setScene(scene);
stage.initOwner(owner);
stage.initModality(modality);
stage.setTitle("Game Sheet"wink;
stage.setOnCloseRequest(new EventHandler<WindowEvent>(){
@Override
public void handle(WindowEvent w){
System.exit(0);
}
});
stage.show();







}

public static void initializeBoards(){

row1Col1.setText(" "wink;
row1Col2.setText(" "wink;
row1Col3.setText(" "wink;
row2Col1.setText(" "wink;
row2Col2.setText(" "wink;
row2Col3.setText(" "wink;
row3Col1.setText(" "wink;
row3Col2.setText(" "wink;
row3Col3.setText(" "wink;


}

/**
* Useful for initializing boards
*/
public static void disableBoards(){

row1Col1.setDisable(true);
row1Col2.setDisable(true);
row1Col3.setDisable(true);
row2Col1.setDisable(true);
row2Col2.setDisable(true);
row2Col3.setDisable(true);
row3Col1.setDisable(true);
row3Col2.setDisable(true);
row3Col3.setDisable(true);
}

public static void enableBoards(){

row1Col1.setDisable(false);
row1Col2.setDisable(false);
row1Col3.setDisable(false);
row2Col1.setDisable(false);
row2Col2.setDisable(false);
row2Col3.setDisable(false);
row3Col1.setDisable(false);
row3Col2.setDisable(false);
row3Col3.setDisable(false);
}



public static void initializeGame(){

changeStartMark();
initializeBoards();
enableBoards();
nextBtn.setDisable(true);
}

public static void checkReasonableParameters(){

if(checkWins() == true || boardIsFullWithoutWins() == true){
incrementScores();
disableBoards();
nextBtn.setDisable(false);
}
}
}
ProgrammingA Simple Tic-tac-toe Game Using Javafx by kingvicky(op): 6:21pm On Nov 02, 2017
Here's the source code for a simple Tic-Tac-Toe game I created with Java. I made use of the the JavaFx gui.

it's basically a two player game.



The TicTacToe.java file

package tictactoe;
/**
* @Author Victor Kingsley
* @Version 1.0
* @Courtesy: HighBreed
* @Date:
*/
import javafx.scene.control.Button;
import javafx.scene.text.Text;
import javafx.scene.control.MenuBar;
import javafx.scene.control.Menu;
import javafx.scene.control.MenuItem;
import javafx.scene.Parent;
public class TicTacToe extends Parent{
public static String startMark="X";
/**
* Set the current player mark the same as the start mark
*
*
*/
public static String currentPlayerMark=startMark;
/**
* The prompt text
*/
public static String promptText="Welcome to the Tic-Tac-Toe game. X plays first";
/**
* Initial scores for each player
*/
public static int xScore=0;
public static int oScore=0;
/**
* Buttons for setting the current player mark
* The prompt text holder
* Menu bars and menus
* Menu items
* Score labels
*/
public static Button row1Col1=new Button(" "wink;
public static Button row1Col2=new Button(" "wink;
public static Button row1Col3=new Button(" "wink;
public static Button row2Col1=new Button(" "wink;
public static Button row2Col2=new Button(" "wink;
public static Button row2Col3=new Button(" "wink;
public static Button row3Col1=new Button(" "wink;
public static Button row3Col2=new Button(" "wink;
public static Button row3Col3=new Button(" "wink;
public static Text prompt=new Text(promptText);
public static MenuBar menuBar=new MenuBar();
public static Menu menu=new Menu("File"wink;
public static MenuItem aboutFile=new MenuItem("About The Game"wink;
public static MenuItem helpFile=new MenuItem("Help"wink;
public static MenuItem endFile=new MenuItem("End Game"wink;
public static Text xTitle=new Text("X"wink;
public static Text oTitle=new Text("O"wink;
/**
* The next button for instantiating the game;
*/
public static Button nextBtn=new Button("Next"wink;
}
Christianity EtcRe: The Failure Of Christian Deism by kingvicky(m): 5:00pm On Nov 02, 2017
ScepticalPyrrho:
Ebuka also talks about "logical theists".... grin

How can a theist be logical?

Except he is delusional.
You are now attributing logic to atheism? Intellectual superiority is not exclusive to the atheistic class...
Christianity EtcRe: The Failure Of Christian Deism by kingvicky(m): 4:54pm On Nov 02, 2017
JackBizzle:
The god of the bible is a personal God....how do you call yourself a christian when you dont believe in a personal god?


How can a woman be a muslim feminist when islan makes it clear that women are less than men?
This is why the Bible is florid.... It uses anthropomorphic concepts to expound on general truths since our perceptions are but microcosmic bits.... The whole "panorama" of the divine is rather stupefying when considered in its innateness...
Christianity EtcRe: Believe It Or Not: You Were Born Muslim! by kingvicky(m): 12:22am On Nov 02, 2017
This has no logical backing. It is impossible to be born with a religious affiliation. Perceptions of the natural are sources of guidance to a neonate and his instincts spring from there...
Christianity EtcRe: Creepy! Man Searches For A Kingdom Hall In Denmark, Gets This by kingvicky(m): 1:25pm On Oct 31, 2017
Just confirmed this via google map but lemme ask you a question love... Don't tell me you ain't gonna spend a dollar if I give you one cause this same sign is on a dollar
Christianity EtcRe: Integrity Of The Gospels by kingvicky(m): 1:23pm On Oct 24, 2017
frosbel2:
The Gospel of Matthew is full of outright Lies , a lot of it's content is shamelessly fabricated.

Examples :

Virgin birth - all made up and prophetic reference to Isaiah 7:14 has nothing to do with Jesus. This was fulfilled in Isaiah 8 and had nothing to do with a virgin birth, besides the original word in Hebrew for the concocted new testament virgin is young woman and not virgin.
This is a mistranslation in the Septuagint. The Greek text for the NT uses the Greek text for the OT as reference where inference is drawn from the OT

Genealogy of Jesus - all made up, God promised in the old testament that the Messiah will not come through Jehoiachin whose family was cursed, yet he was mentioned in Matthew
Could you point out the OT verse?

Resurrection of saints - Matthew 27:53 - Nonsense, this never happened. For such a major event there is no contemporary historic source to validate this myth

More to come..........
This was a later addition to the text
Christianity EtcRe: Atheist Bird Sh!t On The Kab'ba{pics} by kingvicky(m): 1:00pm On Oct 24, 2017
UmarIbnShittu:
Nyc try but Birds do not even fly across the kabah they circumnavigate the kaabah no matter how high it flys up in the sky

And that pic is a poorly edited pic
Of course, cheap miracles to glorify the god of Islam...

Even cockroaches perform the Sallat.

1 2 3 (of 3 pages)