y vi un jjuego de usbmarino muy realisitco no coji su nombre pero encontre este por internet y se ve interesante onque el de la tienda parece ser otro cuando vallacojo su nombre
http://www.gamespot.com/pages/video_pla ... pid=562047
estube en la tienda de video jeugos
Moderador: MODERACION
import java.util.Random;
import java.io.*;
public class post1{
public static void main (String []arg){
String respuesta;
Boolean respuestaCompleta = false;
Ramdom gen = new Ramdom();
int temp = 0;
while (respuestaCompleta==false){
temp = gen.nextInt(29);
respuesta.concat(letraAbecedario[temp]);
if (respuesta == suficiente){
respuesta completa = true;
}
}
System.out.println(respuesta);
}
}
import java.io.*;
public class post1{
public static void main (String []arg){
String respuesta;
Boolean respuestaCompleta = false;
Ramdom gen = new Ramdom();
int temp = 0;
while (respuestaCompleta==false){
temp = gen.nextInt(29);
respuesta.concat(letraAbecedario[temp]);
if (respuesta == suficiente){
respuesta completa = true;
}
}
System.out.println(respuesta);
}
}
Última edición por gamab el 30 Oct 2005 17:18, editado 1 vez en total.

-
- Könteradmiral
- Mensajes: 20470
- Registrado: 16 Jul 2004 19:15
Aqui te pongo algo que vi hace cosa de un mes:
Dargo, administrador de la WPL/EGL escribió:Battlestations: Midway (formerly: Midway: Naval Battles)
Game: Midway (former subtitle: Naval Battles)
Release Date: 2006
Genre: Multi-unit tactical action
Platform: PC, Xbox, PS2
Players: Single/Mutiplayer
Developer: Mithis Games
Publisher: Sales Curve Interactive
Homepages: http://www.sci.co.uk/games/basic.asp?version_id=88
Official Site: http://www.battlestations.net/
Multiplay: Internet, local network
Trailer: http://www.3dgamers.com/games/midway/
Description: Experience every aspect of fierce WWII naval combat as you command a host of US and Allied air, sea and underwater units through intense, action-packed missions in hotspots across the Pacific. At your disposal are over 60 legendary war-machines, including huge aircraft carriers, battleships, destroyers, land and carrier based bombers and even submarines, all equipped with authentic weaponry.
Action based gameplay allows you to switch between all units under your command at the press of a button, whilst firing real-time orders to position the rest of your squad. In total control of breathtaking multiple unit battles you will engage the enemy in fierce dogfights, launch multiple attack squadrons from a carrier, fire the massive guns of a battleship, whilst launching deadly torpedo attacks from a hidden submarine.
The game consists of a variety of campaign and individual challenge missions, each with several objectives and multiple pathways. You will lead your fleet from Pearl Harbor, through the Philippines, Java and the Coral Sea to the decisive Battle of Midway. Each mission is conducted across immense open-world environments, featuring historically detailed island bases, fully destructible buildings and functional airstrips.
If that is not enough, head online and duel it out against numerous opponents in epic island sieges and head-to-head fleet battles.
Midway is a real-time 3D tactical/strategy game that adapts the naval battles of the Second World War. It introduces how the naval warfare changed during WW2 - from the dreadnaughts protecting the memory of Battle of Jutland to the forerunners of modern carriers. The player may control different vessels in real or hypothetical naval battles. The fleet consists of ships, captains, officers and crew of different abilities. In order to achieve victory, an effective team should be forged.
The episodes follow each other in a truly historical way. The player may choose the American, English, German or Japanese side to serve, which also determines his/her own, controllable character, the hero. During the campaign the player may climb up on the career ladder: from a captain up to the rank of an admiral.
Game Features:Press Quotes:
- Intense action - jump in real-time between vehicles and play as a Gunner, a Pilot, a Submarine Captain, or even Carrier Commander
- Multiple unit combat - directly pilot over 60 authentic WWII vehicles including aircraft carriers, battleships, destroyers, PT boats, landing craft, torpedo planes, land and carrier-based bombers, submarines and even mini-subs.
- Single player campaign - featuring 11 huge Allied missions all based on historical battles and set in real-world locations across the Pacific.
- Challenge Mission - focusing on key air, surface and underwater units
- Multiplayer online - massive online battles featuring head-to-head all out warfare and team based island sieges with combined control of over 70 US & Japanese units
- Immense environments – huge open-world seascapes featuring detailed island bases with fully destructible buildings and functional airfields
- Powerful 3D engine - brings the Pacific to life with realistic physics, advanced water modeling and stunning underwater effects
- Squad Combat System - fire out real-time orders to the rest of your fleet and watch the AI carry out your commands
- Powerful AI – controls friendly and enemy squad behaviour and tactics
- Command Map - view the overall battle, identify enemy targets and assign units to attack them
- Damage Control - counter flood a sinking ship, fight fires to stop secondary explosions and repair battle damage.
- Dynamic weather - thick cloud cover, stormy seas and driving rain directly impact tactics.
- “slick intuitive fun with a megalomaniac bent” - PC Format
Navegando las tormentas como mejor se puede.
-
- Leutnant der Reserve
- Mensajes: 2077
- Registrado: 30 Nov 2000 01:00
- Ubicación: Moviendome entre Altea y Alicante
- Contactar:
Lo probé hace algún tiempo pero me pareció algo lioso, no se... Además, era la época en la que jugué al Pirates!, y como el sistema de batallas era parecido, me quedé con el de los piratas.
PD: Gamab, los demás no sé, pero yo si que pillo el tono irónico que has querido plasmar (supongo) en ese código plagado de errores que no compilaría ni a la de tres, y eso que no sé Java.
PD: Gamab, los demás no sé, pero yo si que pillo el tono irónico que has querido plasmar (supongo) en ese código plagado de errores que no compilaría ni a la de tres, y eso que no sé Java.
La ironia del mensaje era clara, creo que has pillado por donde iba.Mac escribió: PD: Gamab, los demás no sé, pero yo si que pillo el tono irónico que has querido plasmar (supongo) en ese código plagado de errores que no compilaría ni a la de tres, y eso que no sé Java.
En cuanto al codigo, decirte que hay 3 errores de compilacion 1 por poner Boolean en vez de boolean y por 2 declarar 2 variables (vageria). Por el resto esta perfecto.

-
- Leutnant der Reserve
- Mensajes: 2077
- Registrado: 30 Nov 2000 01:00
- Ubicación: Moviendome entre Altea y Alicante
- Contactar:
Bueno, yo veo algunos errores más aparte de esos. De todas formas da igual, todos podemos cometer errores cuando no conocemos el lenguaje ¿no es cierto?.gamab escribió: En cuanto al codigo, decirte que hay 3 errores de compilacion 1 por poner Boolean en vez de boolean y por 2 declarar 2 variables (vageria). Por el resto esta perfecto.
PD: ¿Qué es lo de 'vageria'?
Un saludo
-
- Oberbootsmann
- Mensajes: 553
- Registrado: 30 Jun 2000 02:00
- Ubicación: Montevideo Uruguay
- Contactar:
Código: Seleccionar todo
// Codigo fuente de windows, ahi va:
// ------------------------------------------------------------------------
#include "Win30.h"
#include "Win31.h"
#include "Win95.h"
#include "AlgoMas.h"
#include "CodigoAntiguo.h"
#include "NormasDeBillGates.h"
#include "CosasDeRelleno.h"
#include "Monopoly.h"
#define INSTALAR TODO_SIN_EXCEPCION_Y_A_LO_BESTIA
#define
-5483021548692487811456214478252114545621
static char Escritorio[16000000]; /* 16 Mb */
static char Accesorios[8000000]; /* 8 Mb */
static char Explorer4[4000000]; /* 4 Mb */
static char ProgramasDeUsuario[2000000]; /* 2 Mb */
static char MemoriaLibre[2000000]; /* 2 Mb */
int main()
{
while (NoCasque())
{
MostrarMensajeCopyright();
MostrarMensajeNormasBillGates();
DesactivarBotonReset();
BucleParaNoHacerNada();
if (PRIMERA_INSTALACION)
{
while (TamanyoDiscoSwap() < (ESPACIO_PARA_WINDOWS_ENTERITO*5))
{
Ocupar50MbParaDiscoDeSwap();
BucleParaNoHacerNada();
}
EliminarSistemaDeArchivosHPFS();
EliminarCualquierRastroDeOS2();
DeshabilitarInstalacionDeNetscape();
DeshabilitarInstalacionDeRealPlayer();
if (QuedaAlgunRastroSospechoso())
ColgarSistema();
}
MostrarAlgunaCosaBonitaPeroInutil();
MostrarMensajeCopyrightOtraVez();
BucleParaNoHacerNada();
HacerVerQueHaceAlgo();
if (SigueSinCascar())
{
MostrarMensajeCopyrightOtraVez();
BucleParaNoHacerNada();
EjecutarWin31();
if (AunSigueSinCascar())
EjecutarWin30();
BucleParaNoHacerNada_1();
BucleParaNoHacerNada_2();
BucleParaNoHacerNada_3();
BucleParaNoHacerNada_Etcetera();
}
if (UsuarioNoAceptaWindowsComoAlgoUtil())
goto VETE_A_SABER_DONDE;
if (SeHaDetectadoCache())
DeshabilitarCache();
if (CPU_Rapida())
{
EstablecerEstadosDeEspera(MUCHISIMOS);
EstablecerRaton(VELOCIDAD, MUY_LENTO);
EstablecerRaton(ACCION, DESPLAZARSE_A_SALTOS);
EstablecerRaton(REACCION, A_VECES);
EstablecerTeclado(VELOCIDAD_PARPADEO, MUY_LENTO);
EstablecerTeclado(VELOCIDAD_REPETICION, MUY_LENTO);
}
/* printf("Bienvenido a Windows 3.0"); */
/* printf("Bienvenido a Windows 3.1"); */
/* printf("Bienvenido a Windows 95"); */
printf("Bienvenido a Windows 98");
if (CPU !=3D INTEL)
{
DeshabilitarRaton();
DesconfigurarTeclado();
ColgarSistema(INDICADOR_MSDOS);
}
else
{
MemoriaDeSistema =3D open("a:\swp0001.swp", O_CREATE);
while (NoHayaSuficienteEspacioEnDisco())
printf("Inserte un nuevo disco en la unidad A:");
}
while (NOS_SALGA_DE_LOS_HUEVOS)
{
sleep(5000);
ObtenerEntradaUsuario();
sleep(5000);
ReaccionarAPeticionUsuario();
}
if (ObtenerNumeroAlAzar() !=3D BINGOOOO)
GenerarErrorDeProteccionGeneral();
/* Fin de bucle principal */
}
/* Finalizar sesi=F3n */
if (AunNoHaCascadoDelTodo())
{
if (ObtenerOtroNumeroAlAzar() !=3D BINGOOOO)
{
MandarExplorerALaMierda();
if (HayAlgoAbierto())
{
Accion =3D MostrarMensaje("=BFDesea guardar los datos?");
if (Accion =3D=3D SI)
GuardarDatos_JAJAJA();
MandarloTodoAlCarajo();
}
}
printf("Windows se está cerrando");
while (HAYA_PRISA)
sleep(5000);
if (UsuarioYaLlegaTardeDondeTeniaQueIr())
printf("Ahora puede apagar el equipo.");
}
return ((int)((long)((float)((double)((redouble)CASCAR)))));
}
-
- Könteradmiral
- Mensajes: 20470
- Registrado: 16 Jul 2004 19:15